CLI

Using Bleachbit in a shell script

I moved the topic here from the forum at
http://sourceforge.net/projects/bleachbit/forums/forum/899127/topic/3270445

andrewziem wrote:

/quote

Regarding "bleachbit --user xyz" you can try this command

HOME=/home/bob sudo bob bleachbit.py --delete firefox.cache

When run as root, that changes the HOME variable to /home/bob, changes to the
user bob, and runs the command.

/endquote

Thanks for the suggestion. I hadn't got round to trying out the CLI until now.

I set up a shell script as follows:

HOME=/home/xyz/
cd $HOME
bleachbit --delete evolution.cache

Forums: 
Subscribe to RSS - CLI