I would like to ask if there is an possibility to take from this method only the different directories/files without all the Identical files and the Common subdirectories. Could you give me an idea how to modify it? As beginner I didnt think that I could. So I wrote a code for the comparison of data, using the hashlib (sha1) but now I change my mind and I think that I can trust this method if I am able to take the desired results.
- Code: Select all
comparison = filecmp.dircmp(original,copy)