/ Published in: Bash
URL: http://www.macosxhints.com/article.php?story=20070408062023352
This command compares two directories and shows you any files that differ between the two. It also shows how to exclude unimportant files like .DS_Store and Thumbs.
Expand |
Embed | Plain Text
diff -qr dirA dirB | grep -v -e 'DS_Store' -e 'Thumbs' | sort
Comments
Subscribe to comments
You need to login to post a comment.

Great, thank you.. Was looking for this command few days ago.