Originally Posted by palmtree5
ls > ~/list.txt[/HIGH]Use your favorite text editor to check manually for duplicates (I don't know of another way)
If they are the exact
same files with only different names, you could do something with hashing kinda like this:
cd /my/dir/here; for line in $( ls ); do md5sum $line; done| cut -d" " -f1 | uniq -u
I didn't put too much time in this, but it *should* output only unique hashes from the files in the /my/dir/here directory... which should give you an idea of how many duplicates you have...
or you could just end before the pipe and see all files (including duplicates -again based only on hashes- )