Is there a simple way to (recursively) remove all files from a directory A that are identical (same name and same hash) to files in directory B while preserving the structure?
e.g. A/file1 gets removed if B/file1 exists; but A/file1 gets not removed although B/d/file1 exists
pythonis fine then see codeidol.com/community/python/comparing-directory-trees/17542/… – harish.venkat Dec 18 '12 at 18:54