qarmin / czkawka

Multi functional app to find duplicates, empty folders, similar images etc.
Other
18.36k stars 604 forks source link

CLI methods are unclear #1206

Open Krzysiu opened 4 months ago

Krzysiu commented 4 months ago

Feature Description In CLI help (by -h) it says simply "Delete method (AEN, AEO, ON, OO, HARD) [default: NONE]", without explanation what these abbreviations mean - I can only guess. 1) it would be nice to be sure and explain it's "all except newest" etc. 2) if I'm right, there's no "delete all except biggest" (AEB), which is obtainable from GUI?

Or at least, if that's possible from CLI, could you explain me how to achieve the 2nd point?

edit: as far as I see it gives more info when you use --help vs -h. Which is misleading, because czkawka-cli.exe -h or --help shows -h/--help to be alias.

Mewto7 commented 4 months ago

Feature Description In CLI help (by -h) it says simply "Delete method (AEN, AEO, ON, OO, HARD) [default: NONE]", without explanation what these abbreviations mean - I can only guess.

I realize that you already know what they mean, but I am going to leave the answer here anyway, in case someone else comes looking for it.

-D, --delete-method Methods to delete the files. AEN - All files except the newest, AEO - All files except the oldest, ON - Only 1 file, the newest, OO - Only 1 file, the oldest HARD - create hard link NONE - not delete files