Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Replace duplicate files with hardlinks

by ajt (Prior)
on Aug 10, 2008 at 20:42 UTC ( #703472=note: print w/replies, xml ) Need Help??

in reply to Replace duplicate files with hardlinks

This is a common problem and your solution is not dissimilar from others. There is a nice section on Wikikpedia about the various duplicate finders and linking tools: fdupes.

As the author of one of the tools (fdf) I have a vested interest and I can say that it's easy to make something fast, it's harder to make it fast and reliable. I've also had a conversation with the author of fslint - there are more than a few land-mines out there! For example lots of operating systems have primitive file-systems that don't do hard-links...

Anyhow it's nice to see another version and it's always fun to try benchmarking them!

  • Comment on Re: Replace duplicate files with hardlinks

Replies are listed 'Best First'.
Re^2: Replace duplicate files with hardlinks
by Anonymous Monk on Aug 10, 2008 at 21:28 UTC
    Ajt: Thanks a lot for your comments! As as I said in my previous post, the main purpose of the script was to test some recently acquired skills; I wasn't aiming at trying to compete with a full featured program. I was aware that there were many other tools for this job already, but I just wanted to give it a go for the fun of it.

    Please forgive me if it sounded like it was a new solution to a not yet solved problem. I am the first to acknowledge that, in its current state, this little script is far from being robust and safe to use by anyone in any platform.

      Sorry, I am the Anonymous Monk here. Still figuring things out...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://703472]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2020-10-28 03:09 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (259 votes). Check out past polls.