sahib / rmlint

Extremely fast tool to remove duplicates and other lint from your filesystem
http://rmlint.rtfd.org
GNU General Public License v3.0
1.86k stars 128 forks source link

Deprecation of --write-unfinished in develop branch #503

Open Flurrywinde opened 3 years ago

Flurrywinde commented 3 years ago

In the develop branch, I noticed --write-unfinished is deprecated, so I was going to submit a PR to state this in the man page. However, I have a few questions:

  1. Does --xattr now include --hash-unmatched?
  2. rmlint -U still worked, but isn't -U a synonym for --write-unfinished?
SeeSpotRun commented 3 years ago
  1. Does --xattr now include --hash-unmatched?

Optionally. So:

  1. rmlint -U still worked, but isn't -U a synonym for --write-unfinished?

I mapped -U to --hash-unmatched because I figured that was functionally very similar to --write-unfinished and unlikely to lead to nasty surprises. Only downside is slightly longer runtime than --write-unfinished.

Flurrywinde commented 3 years ago

Awesome. Thanks for clarifying. While I'm editing the man page, are there any other changes I should put in?

SeeSpotRun commented 3 years ago

While I'm editing the man page...

Hey thanks so much for that, I really appreciate it.

...are there any other changes I should put in?

Probably. From a quick look through https://github.com/sahib/rmlint/pulls?q=is%3Apr+closed%3A%3E2021-01-01+ I'd say check on:

* note that `rmlint --dedupe --xattr is about to be deprecated / removed so don't waste any time documenting that.

Cheers, SSR

intelfx commented 2 years ago

Is there any chance that --write-unfinished is going to be reintroduced at some point?

On my dataset --hash-unmatched makes rmlint scan 20 TiB of data (basically all of it) instead of just 4 TiB with just --xattr.