Duplicate files

Clay Weber claydoh at midmaine.com
Wed Apr 1 02:16:09 UTC 2009


On Tuesday 31 March 2009 8:48:59 pm Matthew Flaschen wrote:
> Steven Vollom wrote:
> > I just installed fdupes.  I want to lean my primary drive partition.  It
> > is sda1.  I have 44gb of OS files and application files in a 50gb
> > partition.
>
> It is hard for me to believe the OS is using 44 GB, on a Linux machine.
>  I expect some of this is your data.
>
> Can you run:
>
> df -Th
>
> with the filesystem in question mounted?  Assuming it is /, the command
> would be:
>
> fdupes -nr /
>
> That does  a recursive search for duplicate files on /, ignoring empty
> files.
>
> This will take a fairly long time, so don't run it until you're sure you
>  have the command right.  It will print each duplicate set, with spaces
> between sets.  E.g.
>
> /home/matthew/foo
> /home/matthew/sameasfoo
>
> /home/matthew/bar
> /home/matthew/sameasbar
> /home/matthew/alsosameasbar
>
> You have to decide which (if any) duplicate you want to delete.
>
> Matt Flaschen

Another tool to consider is filelight, a KDE app that shows you graphically 
what is occupying your drives. It makes it easy to spot huge files, for 
example. I always find  forgotten videos, iso images, etc using it.

-- 
Clay Weber
http://kubuntuforums.net
http://flyballmaine.com
http://emacdogsports.com




More information about the kubuntu-users mailing list