KleanSweep
System Software
Score 78%
Description:

KleanSweep allows you to reclaim disk space by finding unneeded files. It can search for files basing on several criterias; you can seek for:
* empty files
* empty directories
* backup files
* broken symbolic links
* broken executables
* dead menu entries (.desktop files pointing to non-existing executables)
* obsolete thumbnails (thumbnails of non-existing images)
* duplicated files
* orphaned files (files not found in RPM or DEB database).

Results for each criteria are shown in separate tab; files may appear on many tabs if they match many criterias - in this case they are "linked", so you have to mark (or unmark) file for deletion only once! Before actual deletion takes place, you're given an option to create backup archive.

Planned features:
* seeking for orphaned files in Slackware and Gentoo (portage) database
* and more!

KleanSweep consists of KDE-based (C++) graphical frontend and small helper Perl script that performs actual searching. All searches, except for orphaned files, duplicates and dead menu entries are as fast as usual 'find' would be.

This is initial release and may contain bugs. I take no responsibility for any damage caused by this program.

Note: it may compile/work in KDE < 3.4.x, but was only tested in 3.4.2.
Last changelog:

12 years ago

* Removed "greedy match" button
* added Italian, German, Spanish and Portugaese translations

baby-sinclaire

11 years ago

very good work. The 1th Cleaning up Programm for Linux i ever saw, but is it possible to add a "Blacklist" for files and directorys which can be defined by the user. e. g. Kleansweep wants always clean up the tmp and some other directorys from Kmail because the are empty but when you do that Kmail did not start. With a Blacklist the user could "teach" Kleansweep not to erase the wrong files.

Have nice Day

Report

patpi1

11 years ago

"Kleansweep wants always clean up the tmp and some other directorys from Kmail because the are empty but when you do that Kmail did not start. With a Blacklist the user could "teach" Kleansweep not to erase the wrong files."

agree with that! :)
+1

Report

bram85

11 years ago

In 0.2.8 that's possible, under the Settings button of the second page you'll see in the wizard.

Report

hellblade

11 years ago

Please add an option to backup all removed files in a tar.bz2 file. That would be great:)

Report

C

yogin

11 years ago

This feature is available since the beginning...

Report

phantom4

11 years ago

Hi,

I think it would be great, if a saved report file can be reloaded again.
What do you think?

Report

C

yogin

11 years ago

I don't think it's really needed... The main purpose of reports is to allow users to create a report before deleting anything, so they can consult their decisions with others easily.

Report

ibc

11 years ago

Have you considered to integrate your fantastic app in KDE instead of doing an individual app?

I mean: could be possible to integrate your app in the future Control Center? or better, could it appear in any way in system:/media when the user is exploring the devices?

I can imagine a Konquerro in system:/media with icons showing the free space (http://www.kde-look.org/content/show.php?content=34629) and near an option called "free space" tthat open your app.

Report

PhinnFort

11 years ago

I'm no KDE-guru, but the KControl integration would mean making this into a KPart, which I don't think is too hard.

And integrating into Konqueror would only mean a tiny patch to the konqueror source (AFAIK).

Report

PhinnFort

11 years ago

Could you add support for finding files not installed by Portage?
You could maybe just incorporate some of scripts that are already made.

http://forums.gentoo.org/viewtopic.php?t=254197

Report

C

yogin

11 years ago

Yes, I want to add support for Gentoo, however my first trial was disappointing as I found out there was no (good) way to obtain the list of installed files. My first attempt was to use 'equery -C list -i' to obtain a list of packages and then for each package do 'equery -C files ' to obtain individual files. This was painfully slow. I need to take a look on how it is implemented in the tools you point me to. Is there anything close to 'rpm -qa' in Gentoo?

Report

PhinnFort

11 years ago

I have never used an rpm-based distro before, but if it means list all installed files, I don't think so.

But what you could do is parse all the "CONTENTS" files under /var/db/pkg/. That's what the other tools do, it contains everything the packages have installed.

Report

andersk

11 years ago

what about

> fgrep -h obj /var/db/pkg/*/*/CONTENTS | sed -e 's/^obj\ \(.*\)\ [0-9a-f]*\ [0-9]*$/\1/g'

That will generate a long long list of portage handled files.
The only "dangerous" thing I can think of doing like this is filenames or paths with spaces.

Good luck

Report

xxxx

11 years ago

Nice tool but I miss the feature to check the newest or oldest files by the dublicate finder.

Report

wgray99

11 years ago

This is an excellent program.

I would like to see several features added:
1. The ability to exclude specified directories
2. The ability to exclude specified file types
3. The ability to do the reverse of the above 1 and 2, ie. search only a specified directory or search for only ceratin file types.

Cheers.
...w...

Report

dschrader

11 years ago

This is great and handles searching for the different types of unnecessary files well. Thanks a lot!

Report

amla

11 years ago

Hi! When running scons I get this: scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... -I/usr/include/kde/ -I/usr/include/qt3 -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -DVERSION=\"0.2.6\" -I. -Isrc -c -o src/configdlg.o src/configdlg.cpp sh: -/: invalid option Usage: sh [GNU long option] [option] ... sh [GNU long option] [option] script-file ... .... .... Any ideas? Thanks!

Report

amla

11 years ago

Forget it! Just a "lack of compiler" :-P

Report

Animatrix30

11 years ago

Hi !!

I try your software, but I don't know, how to uninstall it.

A SuSE rpm is already avaible ?

Report

logixoul

11 years ago

To uninstall:
$ sudo make uninstall
To get a SUSE RPM (not the latest version yet):
http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/System/kleansweep

Report

C

yogin

11 years ago

To uninstall, you need to do this:
# scons -c install

Kleansweep uses scons instead of make (so 'make uninstall' has no use here).

Report

testerus

11 years ago

There are a few things missing from the duplicate search:
1) a way to mark all duplicates (now select all seems to selects the original and the dup)
2) even better would be if one could rank the directories about how likely it is that it contains original or duplicate files
3) I miss an option to hardlink instead of delete duplicate files in some directories
4) a preview pane, like that in the open/save dialog in KDE or in Krusader
(bottom right in http://www.kde-apps.org/content/preview.php?preview=2&id=10214&file1=10214-1.png&file2=10214-2.png&file3=10214-3.png&name=Krusader)

Report

jaboua

11 years ago

...I went in here to add a comment on the dupe thing. A great app, but the "mark all duplicates" would make it perfect (for my needs).

Report

opradilla

11 years ago

this is what i've got, what can i do.. tks
scons: Reading SConscript files ...
Checking for kde-config : kde-config was found as /opt/kde3/bin/kde-config
Checking for kde version : 3.5.0
Checking for the qt library : qt is in /usr/lib/qt3
Checking for uic : uic was not found - set QTDIR put it in your PATH ?

Report

C

yogin

11 years ago

You need Qt developement tools... But you don't need to compile from source in Suse - there are Suse packages ready: http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/System/kleansweep

Report

12 years ago

* Removed "greedy match" button
* added Italian, German, Spanish and Portugaese translations

product-maker olegvbal Aug 28 2014

product-maker 78 290

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.2.9
updated Jun 30 2010
added Sep 02 2005
downloads today
0
page views today 15