command line invocation

Bug #339309 reported by Anand Babu
2
Affects Status Importance Assigned to Milestone
BleachBit
Fix Released
Medium
Andrew Ziem

Bug Description

Bleachbit is awesome. With so many applications with their own way of storing temporary files, I could
not longer keep track of them. I don't even use some of the applications any more, but I keep carrying
the stale files forward unnecessarily. I can now safely/easily clean them every time before backup.
Thanks Andrew.

All I need is first two options listed below.

* bleachbit --bleach-list
  - Lists bleachable directories, without invoking GUI.

* bleachbit --bleach-directories firefox.cache,opera.cache,thumbnails,bash.history
 - Deletes the specified directories, without invoking GUI.

* bleachbit --bleach
 - Deletes GUI configured directories, without invoking GUI.

Other useful default options are:
help
usage
dry-run
quiet
verbose
version

Tags: feature
Revision history for this message
Andrew Ziem (ahziem1) wrote :

By directories, I think you mean paths. For example, bash.history is a single file <~/.bash_history>.

What is the difference between --bleach-list and dry-run?

Changed in bleachbit:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Anand Babu (abperiasamy) wrote :

Yes I meant path.

--dry-run will not delete any files. It will only list all paths about to be deleted. (Just simulation).

--bleach-list will list possible argument values to --bleach-directories or --bleach-path (how
ever you want to call it appropriately). It is just a way to know the possible arguments without
invoking GUI. Otherwise, it has to be documented in info/man page appropriately.

# bleachbit --bleach-lst
firefox.download_history
firefox.session_restore
firefox.places
firefox.forms
firefox.cache
firefox.passwords
epiphany.passwords
epiphany.places
epiphany.download_history
epiphany.cookies
epiphany.cache
...
...

Revision history for this message
Andrew Ziem (ahziem1) wrote :

Yesterday I committed a change to SVN that will be helpful to make CLI work someday.

Changed in bleachbit:
status: Confirmed → In Progress
Andrew Ziem (ahziem1)
Changed in bleachbit:
assignee: nobody → Andrew Ziem (ahziem1)
importance: Wishlist → Medium
Andrew Ziem (ahziem1)
tags: added: feature
Andrew Ziem (ahziem1)
Changed in bleachbit:
milestone: none → 0.6.0
Andrew Ziem (ahziem1)
Changed in bleachbit:
milestone: 0.6.0 → none
Revision history for this message
Andrew Ziem (ahziem1) wrote :

Very basic (not useful) beginning in SVN revision 883

Revision history for this message
Andrew Ziem (ahziem1) wrote :

Basic command line interface committed in SVN revision 921. For further enhancements, open separate bug ticket(s).

Changed in bleachbit:
milestone: none → 0.6.4
status: In Progress → Fix Committed
Revision history for this message
Andrew Ziem (ahziem1) wrote :
Changed in bleachbit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.