top | item 43174125

(no title)

ZedZark | 1 year ago

I did this with two scripts - one that produces and cached sha1 sums of files, and another that consumes the output of the first (or any of the *sum progs) and produces stats about duplicate files, with options to delete or hard-link them.

discuss

order

strunz|1 year ago

I wonder how any comments about hard links will be in these comments by people misunderstanding what this app does.

theamk|1 year ago

if file is not going to be modified (in the low-level sense - open("w") on the filename; as opposed to rename-and-create-new), then reflinks (what this app does) and hardlinks act somewhat identically.

For example if you have multiple node_modules, or app installs, or source photos/videos (ones you don't edit), or music archives, then hardlinks work just fine.