Find duplicated files using Bash and md5 hash.
#### find -not -empty -type f -printf "%s\n" | sort -rn | uniq -d | xargs -I{} -n1 find -type f -size {}c -print0 | xargs -0 md5sum | sort | uniq -w32 --all-repeated=separate
I am using OwnCloud as a personal Dropbox and sometimes I end up with duplicated files. I am using this command from time to time to find them.