Locate duplicate files under Ubuntu (And some ranting)

Edit: Post updated due to obvious user error :)

Looking for a program to find dublicate files? Then fdupe saves the day!

root@bais:/home/samba/raid0# apt-cache search fdupe
fdupes – identifies duplicate files within given directories

By the way, how come the apt search gives to random results?

torhenning@bais:~$ sudo apt-cache search duplicate
….
mirror – keeps FTP archives up-to-date
vlc – multimedia player and streamer
(and a lot of other irrelevant crap)

Can`t exactly say that having to grep in a search results is a good “feature”..

This entry was posted in Linux, Ubuntu. Bookmark the permalink.

3 Responses to Locate duplicate files under Ubuntu (And some ranting)

  1. pej says:

    Part of the reason why might be because it’s spelled ‘dupli’, not ‘dubli’. ;)

  2. Ueland says:

    Gosh, very good point!

    Updated the post with some new rating instead ;)

  3. si-m1 says:

    Might be because it searches descriptions by default:

    $ apt-cache show mirror | grep duplicate
    Mirror uses the FTP protocol to locally duplicate remote host files and

    And btw. since this is old quality software it has ofc. a documented parameter to only search names:
    –names-only, -n
    Only search on the package names, not the long descriptions.
    Configuration Item: APT::Cache::NamesOnly.

    I will leave you with a quick RTFM ;-)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">