find . -size 20 \! -type d -exec cksum {} \; | sort | tee /tmp/f.tmp | cut -f 1,2 -d ' ' | uniq -d >file1 ; grep -hi -f file1 /tmp/f.tmp >duplicates.txt
find duplicate files
Leave a reply
find . -size 20 \! -type d -exec cksum {} \; | sort | tee /tmp/f.tmp | cut -f 1,2 -d ' ' | uniq -d >file1 ; grep -hi -f file1 /tmp/f.tmp >duplicates.txt