Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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!


--
ajt


Comment on Re: Replace duplicate files with hardlinks
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2014-12-27 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls