h3x.no

Tor Henning Ueland`s thoughts about technology and other stuff

Locate duplicate files under Ubuntu (And some ranting)

with 3 comments

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”..

Related posts:

  1. Locate hidden files on a given path
  2. Getting Groupwise to work on Ubuntu 64bit (9.04)

Written by Tor Henning Ueland

November 21st, 2009 at 3:35 pm

Posted in Linux,Ubuntu

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

Subscribe to comments with RSS or TrackBack to 'Locate duplicate files under Ubuntu (And some ranting)'.

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

    pej

    21 Nov 09 at 16:46

  2. Gosh, very good point!

    Updated the post with some new rating instead ;)

    Ueland

    21 Nov 09 at 21:21

  3. 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 ;-)

    si-m1

    15 Dec 09 at 18:50

Leave a Reply