Created
October 2, 2011 17:33
-
-
Save edigu/1257675 to your computer and use it in GitHub Desktop.
Find Duplicate files in current directory (Mac)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -size 20 \! -type d -exec cksum {} \; | sort | tee /tmp/f.tmp | cut -f 1,2 -d ' ' | uniq -d | grep -hif - /tmp/f.tmp > dup.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment