bleachbit/wishlist

Make bleachbit selection exportable, preferrably in format which can be used for CLI

Opened this issue · 1 comments

Use case

For use in scripts and cron jobs, it would be nice to replicate a selection made in the GUI for the bleachbit CLI application. The application has quite a lot of options now, replicating them manually in the CLI is time-consuming.

Proposal

Ideally, we would have an "export" button in the menu, which saves a text file with the cleaners like

bleachbit --preview \
opera.cache \
firefox.cache \
...

Distinction to existing options

Why not just use --preset?

--preset depends on the state of the GUI at the time of running the command, which can change. Therefore, the results can be quite different to what is expected. To have something which doesn't get changed, a save to an external file is necessary.

az0 commented

This makes sense.

This might be a duplicate, though