adrianlopezroche / fdupes

FDUPES is a program for identifying or deleting duplicate files residing within specified directories.
2.42k stars 186 forks source link

I'm unclear why i need to type exit if there are no more matches.. shouldn't it just exit? #181

Open haydonryan opened 5 months ago

haydonryan commented 5 months ago

First off - thankyou for this tool - it's a real lifesaver - and helps me organize lots of screenshots / pictures.

I'm just wondering why i need to type 'exit' once it's done finding all matches (and i've deleted them) to me it should just show the command prompt on the next line.

adrianlopezroche commented 5 months ago

Because of the status bar that says how many files were deleted and how much space was reclaimed (people may want to look at it before exiting), and because one of my planned interactive features was/is adding an on-screen log of files deleted or preserved.

haydonryan commented 5 months ago

I understand - I feel like both of these would be good to spit out to the console screen after you leave the interactive session so that you could scroll up and see these stats, and things I deleted in the session.

You could always feature flag it behind a command line option eg --fast-exit