Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Compare directories via diff' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Compare directories via diff
Authored by: SoYman on Jul 10, '13 06:18:14AM

make sure to format this command exactly the same and including these: " " when needed

find . -type f -not -exec cmp {} /path/to/dir2/{} ";" -print

I really just wanted to thank you and everyone in this thread. Relocating and cleaning up my mothers age old backup folder that is filled with duplicates has been made so much easier.

You have all my grattitudes.

[ Reply to This | # ]