.bak and *~ files are not deleted

Bug #1290028 reported by MikeR on 2014-03-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bleachbit (Ubuntu)

Bug Description

LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise

$ bleachbit --list | more
info: starting BleachBit version 1.0

$ apt-cache policy bleachbit
  Installed: 1.0
  Candidate: 1.0
  Version table:
 *** 1.0 0
        100 /var/lib/dpkg/status
     0.9.1-1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe i386 Packages

$ sudo find / -name *.bak

# in other words thare are existing .bak files.

# from /usr/share/bleachbit/cleaners/deepscan.xml :
  <option id="backup">
    <label>Backup files</label>
    <description>Delete the backup files</description>
    <warning>Inspect the preview for any files you want to keep.</warning>
    <action command="delete" search="deep" regex="\.[Bb][Aa][Kk]$" cache="false"/>
    <action command="delete" search="deep" regex="[a-zA-Z]{1,4}~$" cache="false"/>

# Running sudo bleachbit the files listed above do not show up in preview, nor are they deleted.
# similarly for files ending in "~"

What is wrong, or what do I have to change?


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

In BleachBit version 1.0 deep scan only $HOME, so is /mike under $HOME?

You can try running
sudo bleachbit --sysinfo

Revision history for this message
MikeR (mike-rechtman) wrote :

$ sudo bleachbit --sysinfo
[sudo] password for mike:
info: starting BleachBit version 1.0
BleachBit version 1.0
GTK version 2.24.10
local_cleaners_dir = /usr/share/cleaners
locale_dir = /usr/share/locale/
options_dir = /home/mike/.config/bleachbit
personal_cleaners_dir = /home/mike/.config/bleachbit/cleaners
system_cleaners_dir = /usr/share/bleachbit/cleaners
locale.getdefaultlocale = ('en_US', 'UTF-8')
os.getenv('DESKTOP_SESSION') = None
os.getenv('LOGNAME') = root
os.getenv('USER') = root
os.getenv('SUDO_UID') = 1000
os.expanduser('~') = /home/mike
platform.linux_distribution() = ('Ubuntu', '12.04', 'precise')
platform.platform = Linux-3.2.0-60-generic-i686-with-Ubuntu-12.04-precise
sys.argv = ['/usr/bin/bleachbit', '--sysinfo']
sys.executable = /usr/bin/python
sys.version = 2.7.3 (default, Feb 27 2014, 20:00:17)
[GCC 4.6.3]
__file__ = /usr/share/bleachbit/Diagnostic.py

...And yes, (see files above):
e.g. /home/mike/.config/chromium/Default/Bookmarks.bak
And other .bak files, not under /home/mike:

Thanks for replying.

Revision history for this message
MikeR (mike-rechtman) wrote :

by the way: Is there a way to have deep scan the entire file tree? (yes, I know it will take time, but it might be good for a batch run)

Thanks for the program, and for your attention.

Revision history for this message
Tobias B. Besemer (tobias-besemer) wrote :

Mike, after all this years, do you still use BB1?

And if, can you maybe update to latest stable BB3? A lof of things have changed since version 1...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers