i have an issue with lots of home videos. some with same name but with different content. and some with same content. IS there an application that can compare the content or something and then either erase to duplicate or rename the file that just has the same name? im running 12.04 64bit!
the files are named like VIC0003.mp4 or 100_1622.mov. thanks for any help!
You can try with fdupes.
Wikipedia:
1) To install fdupes, open a terminal and type:
sudo apt-get install fdupes
2) For a basic use.. to search recursively for duplicates files you can do the following:
fdupes -r ~/Videos/ > ~/Desktop/duplicates.txt
With this command fdupes will serch recursively in the folder "Videos" in your home Directory and will save the result in the "duplicates.txt" file in your Desktop.
eg:
In this example fdupes found that:
and
are duplicate files.
And the:
and
are duplicate too.
NOTE: (The results will have all duplicates separated in groups of the same file, with groups separated by a blank line.)
So , you can view the "duplicates.txt" file to analize what files are duplicates.
3) Fdupes also has an option to prompt the user to delete de duplicate files.
fdupes -rd ~/Videos
With the -rd option fdupes will search and prompt if there are duplicates files, what file do you want to preserve. then will be delete the other ones.
eg:
For more information you can view the man pages
I hope it helps!.