Showing posts with label diff. Show all posts
Showing posts with label diff. Show all posts

Sunday, March 11, 2012

Difference between two folders

Redirect output of difference between two directories, removing the system files (DS_Store, etc..):

diff -qr dir1 dir2 | grep -v -e 'DS_Store' -e 'Thumbs' | sort > diffs_dir1_dir2.txt