Last active
July 8, 2018 20:49
-
-
Save ChristopherA/8aab4ecedc44993fce4024110a8a87b1 to your computer and use it in GitHub Desktop.
Find Duplicates Here
This file contains hidden or 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
| # Move to the target folder using the cd command. Example: cd ~/Documents. | |
| # | |
| find . -size 20 \! -type d -exec cksum {} \; | sort | tee /tmp/f.tmp | cut -f 1,2 -d ‘ ‘ | uniq -d | grep -hif – /tmp/f.tmp > duplicates.txt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment