best way to find duplicate files
On Mon, Dec 08, 2008 at 12:41:34PM -0800, Noah wrote:
> I have a bunch mp3s in a bunch of subdirectories and was wondering if
> somebody could recommend a command line program that would search for
> duplicates and remove all but one of the files?
apt-cache show duplicate lists
fdupes - identifies duplicate files within given directories
which seems promising.
There's also a slow Unix one-liner that can do the same thing,
inefficiently:
find -name '*.mp3'|xargs md5sum|sort|uniq -d
Marius Gedminas
--
Microsoft is not the answer.
Microsoft is the question.
"No" is the answer.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
|