Duplicate files
Matthew Flaschen
matthew.flaschen at gatech.edu
Wed Apr 1 00:48:59 UTC 2009
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
More information about the kubuntu-users
mailing list