How to compare two directories?

could ildg could.net at gmail.com
Tue Jun 28 22:29:30 EDT 2005


I want to compare 2 directories,
and find If all of theire sub-folders and files and sub-files are identical.
If not the same, I want know which files or folders are not the same.
I know filecmp moudle has cmpfiles function and a class named dircmp,
they may help, but I wonder if there is a ready-to-use function in python libs?
If not, would somebody like to give me some propositions?

Thank you.



More information about the Python-list mailing list