command line invocation

Bug #339309 reported by Anand Babu on 2009-03-07
2
Affects Status Importance Assigned to Milestone
BleachBit
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

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
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
...
...

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) on 2009-06-20
Changed in bleachbit:
assignee: nobody → Andrew Ziem (ahziem1)
importance: Wishlist → Medium
Andrew Ziem (ahziem1) on 2009-06-20
tags: added: feature
Andrew Ziem (ahziem1) on 2009-06-23
Changed in bleachbit:
milestone: none → 0.6.0
Andrew Ziem (ahziem1) on 2009-07-27
Changed in bleachbit:
milestone: 0.6.0 → none
Andrew Ziem (ahziem1) wrote :

Very basic (not useful) beginning in SVN revision 883

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
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  Edit
Everyone can see this information.

Other bug subscribers