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

markwege

11 years ago

The new debian version starts fine and makes a good impression. It would be great, if it were a bit faster and if it would regnosise if a whole directory is just duplicat and display it in a way that I can mark it at once (not every file). Another suggestion: It would be good, if they programm keept away from mail directories by default (in my cached Imap directory from Kmail it suggested a lot of directories to deletion).

Report

jayenell

11 years ago

Great app, but is there any way it can follow symlinks?

I try to find duplicate files in my musiccollection and the collection is on more than one partition, but Kleansweep doesn't follow symlinks, so it is useless for me I'm afraid :-(

Cheers,

J

Report

C

yogin

11 years ago

KleanSweep doesn't follow symlinks as it is a bit tricky... I see File::Find perl module (which I use for filesystem traversal) optionally supports it, so I may consider this in the future... But.. why don't you just temporarly mount this partition with another mount point?

Report

neversfelde

11 years ago

I'd like to test the new "orphaned files searching", but I'm quite unsure.
How can I undo after cleaning up my system, if I made a mistake? I always do a backup, but what to do with the created file?

Thanks for your great app.

Report

C

yogin

11 years ago

The backup file is a plain tar archive, so you have to untar it (tar -xf archive.tar or using e.g. mc). If your system however is no longer usable (e.g. doesn't boot correctly), you need to boot any live-cd (knoppix is a good choice), then mount your partitions and restore your files. Just a reminder though before you proceed - please keep in mind that kleansweep finds files that can *potentially* be unneeded (e.g. in Debian/Ubuntu many config files in /etc may be listed as orphaned because they were created on the fly by packages and are not recorded in dpkg database). So be careful!

Report

neversfelde

11 years ago

so because I'm using kubuntu I will exclude /etc at the moment. I already realized that there are many files I think I'll need in the future. Thanks

Report

neversfelde

11 years ago

I tried orphaned files scanning several times now, bt I got no run without killing my system. i think I´ll give it up and wait for the next release. Nevertheless good work. Thank You

Report

C

yogin

11 years ago

Orphaned files searching is based on dpkg (in Debian or Ubuntu) or rpm (in rpm-based distros) database which holds the list of installed files. Some important system files however are not recorded in this database, so orphaned files searching will not get any better in next release of kleansweep, as it is limited by this factor. It will be always based on user's knowledge and decision. Unfortunately.

Report

ATAHUALPA

11 years ago

with the klik and the deb package I obtain always the same error:
"Can't execute helper process. Make sure you have kleansweep-helper in your PATH."

It' s strange, the first time that I have launch it has worked perfectly :-(

Report

C

yogin

11 years ago

As far as I'm aware, klik installas packages in their own subdirectories, so this may be a problem. Kleansweep executes 'kleansweep-helper' so it must be anywhere in your PATH (e.g. in/usr/bin/). So you can copy/symlink kleansweep-helper to /usr/bin or set PATH properly so the application subdirectory created by klik is included in the PATH.

Report

ATAHUALPA

11 years ago

>As far as I'm aware, klik installas packages in their >own subdirectories, so this may be a problem.

firtst time I have exec kleansweep it has worked fine and it was a klik package, this problem is only risen after little time and with a deb package.
now I have tried with both packages (deb/klik) but it does not work.

I have linked "kleansweep-helper" in several path, /usr/bin too, kleansweep continue to give the same error.

Report

C

yogin

11 years ago

Things changed a little bit with kleansweep-helper compared with early kleansweep release. Now kleansweep just executes kleansweep-helper so it must be in the PATH (in earlier releases the helper script was kept in kleansweep data directory). Please check if you can execute 'kleansweep-helper' manually in the console and that it's not giving you an error. Is perl correctly listed if you execute '/usr/bin/env perl'?

Report

ATAHUALPA

11 years ago

I have installed Kleansweep from source, after a deep cleaning operation (updatedb,locate kleanswe*, rm rm rm), now it work fine.
Thanks Yogin, a great support for a great app :)

Report

maxer

11 years ago

The error is inside the Debian Package...

for a stupid mistake, the -helper was installed in /usr/share instead of /usr/lib!

Now it works correctly!

Cheers,
Claudio

Report

markwege

11 years ago

I also get "Can't execute helper process. Make sure you have kleansweep-helper in your PATH." when I directly install it from the Debian reposository. Mark

Report

seraphyn

11 years ago

should work.
Plz Fix it.
kleansweep-0.2.2# ./scons uninstall
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: *** Do not know how to make target `uninstall'. Stop.
scons: building terminated because of errors.

Greetz Chris

Report

C

yogin

11 years ago

There is no 'uninstall' recipe in scons. Instead you should type:
# scons -c install

Report

seraphyn

11 years ago

Thx Hmmm, sounds like a PBKAC in my room. Sorry and greetings Chris

Report

pembo13

11 years ago

You beat me to an implementation. I had an idea for to do this as a starting of prog.

I would suggest that you look for yum caches (maybe apt caches) and old files in /tmp. Would be great if you allowed the user to define folders that they typically store temporary information in.

I haven't actually tried the program, so what language did you implement it in?

Report

FXartist

11 years ago

Whether you use a YAST Source Mirror, Red Carpet, APT or just manually download your packages you can find a packaged KleanSweep RPM here http://linux01.gwdg.de/~pbleser/ Pascal provides instructions on the site for installing from YAST Source Mirrors, APT and Red Carpet.

Report

neversfelde

12 years ago

it would be cool, if you could except some folders from scanning?

Report

gohanz

12 years ago

A SlackWare 10.2 Package with SlackBuild script is ready to download!!


http://www.slacky.it/index.php?option=com_remository&Itemid=1&func=fileinfo&filecatid=780&parent=category

Report

LimitMan

12 years ago

It had deleted insmod.old and depmod.old from system (he recognized them as backup files). So ... be carefull!

Report

C

yogin

12 years ago

Agree... Be careful. Always review the list for removal and don't skip backup archive creation... Also don't use RPM-based orphans searching on Debian / Ubuntu (if you have rpm installed) as it will list virtually all files on the system (see older messages on the forum)...

Report

inthehills

12 years ago

I added KleanSweep from your repository and I love it ! It was amazing to me how much 'clutter' had accumulated. This should be a standard component of KDE ! Just wondering when you will add orphaned file support for debs? Thanks in advance !

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 3