bleachbit / wishlist

Wishlist enhancements related to BleachBit
GNU General Public License v3.0
7 stars 1 forks source link

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

Open emk2203 opened 4 years ago

emk2203 commented 4 years ago

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 4 years ago

This makes sense.

This might be a duplicate, though