Replace duplicates with symlinks

Alan Milnes deep64blue at
Sat Jul 26 10:06:58 UTC 2008

I've just invested in a 1Tb external HDD and am consolidating various 
backups onto it.  What I'd like to do is identify and remove all 
duplicate files on it but replace them with symlinks to the original.

I've googled and found fslint and fdupes, the latter looks promising as 
you can export the findings to a text file - it produces a line like this:-

# rm thisisaduplicate.txt

however it doesn't tell me where the original is.

Is there an app / utility / script that does this? Even a tutorial that 
would help me write my own script?



More information about the ubuntu-users mailing list