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

generated rmlint.sh script dry-run (-n) is incompatible with paranoid (-p) for directories #610

Closed brianrmurphy closed 1 year ago

brianrmurphy commented 1 year ago

Running the generated script "./rmlint.sh -n -p" runs "rmlint --equal" to compare directories but running "rmlint --equal" overwrites rmlint.sh and rmlint.json.

I think the latter behavior (overwriting rmlint.sh and rmlint.json when you run rmlint --equal) is the real bug, since it contradicts the man page, but the problem shows up here.

cebtenzzre commented 1 year ago

This is a duplicate of issue #552.