
KleanSweep
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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.
10 years ago
* Removed "greedy match" button
* added Italian, German, Spanish and Portugaese translations
10 years ago
* Removed "greedy match" button
* added Italian, German, Spanish and Portugaese translations
vgezer
7 years ago
Report
Bonfiglio
10 years ago
http://www.ashisoft.com
Report
mirzaD
10 years ago
Report
mxttie
11 years ago
Report
losty
10 years ago
Report
pcordes
11 years ago
BTW, I'm using it to compare sets of files recovered with different methods from a half-lost filesystem. I've mostly had to hack stuff together in Perl, because I haven't found anything that lets you essentially subtract files found in other directories from files in one given directory. i.e. for a given directory, keep only stuff that isn't a duplicate of something outside that directory. I want to subtract sets of files.
I've done some stuff with perl parsing the output saved by fslint-gui, but it's a pain.
hmm, I just found komparator. It might do what I want...
Report
pcordes
11 years ago
#define _FILE_OFFSET_BITS 64
Report
miguipda
12 years ago
does kleansweep delete cache files ?
If not, can you add a checkbox and the script to delete all browser cache files, cookies, ... (for all present cache : opera, konqueror, ...).
If you do something for slackware can you please also do it for SLAX (this SLAX distro is based on a SLACKWARE and is really easy to install on USB to test). www.slax.org
Thanks for your work and have a nice day,
Miguipda ;-)
Report
mickiw66
12 years ago
tar: backup.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
What now?
Report
Lektorvis
12 years ago
I'm only an ordinary Linux user, who don't know must about systemfiles etc. So I made some mistake and is now unable to start Ubuntu properly. I only reach the Linux systempromt.
Before execute the cleanproces - I made a backup of the deleted files and I'm able to list the backup file. But I'm to inexperienced to do anything with it.
Hence some sort of automatic recovery opportunity would by really nice -
Ps: do somebody know which code I should type to unpack the backup file, and place the files in their original directories?
I would be very great full if you can help.
Report
yogin
12 years ago
Thanks for suggestion about 'restore' functionality in KleanSweep. I'm going to make it easier, probably by creating self-extracting archives (if requested by user).
Report
pcordes
11 years ago
tar xkf ...
I know I won't replace existing files.
If you want to make it easier to beginners, make an undo-cleanup option in the GUI. You could just prompt the user for the file to restore from, if you don't want to get all fancy with keeping track of which file was created by which cleanup action to provide more kleanup-specific metadata for the restore files.
Report
mickiw66
12 years ago
tar: backup.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
Report
themer
12 years ago
When it finds duplicate files, it shows them all. Let's say there are 4 files that are duplicates. Hitting "Select all" and next would remove them ALL, not just the 3 duplicates. I think there should be a button that would select everything in the list under each "parent" file detected. This would allow users to easily hit it and continue, removing the 3 duplicates but leaving ONE of them in place. This would remove the duplicates, but not result in any data loss!
Report
yogin
12 years ago
Report
themer
12 years ago
http://www.hotlinkfiles.com/files/1176966_8w6is/VisualExample.tar.bz2]VisualExample.tar.bz2
(170 Kb, tar.bz compressed archive)
contents: 4 images, "png" filetype
Report
carluti
13 years ago
$ scons qtdir=/usr/lib/qt3 kdeinclude=/usr/include/kde
scons: Reading SConscript files ...
Checking for kde-config : kde-config was found as /usr/bin/kde-config
Checking for kde version : 3.5.7
Checking for the qt library : qt is in /usr/lib/qt3
Checking for uic : uic was found as /usr/bin/uic
Checking for moc : moc was found as /usr/bin/moc
Checking for the qt includes : the qt headers were found in /usr/include/qt3/
Checking for the kde includes : The kde includes were NOT found
Report
RocknRolf
13 years ago
RnR
Report
miguipda
14 years ago
I verify if all is wel installed with my adept (under kubuntu) package installtion tool.
Scons, Python, Perl and all the needed program are well installed.
But when I do the first command : scons, I receive this error message :
scons: Reading SConscript files ...
Checking for kde-config : kde-config was found as /usr/bin/kde-config
Checking for kde version : 3.5.5
Checking for the qt library : qt was not found
Please set QTDIR first (/usr/lib/qt3?) or try scons -h for more options
I verify and saw that qt3 is well installed. So what happend under my kubuntu 6.10
What must I do ?
Have a nice days,
Miguipda ;-)
Report
gollum
14 years ago
Kleansweep is quite nice already, but the Remove duplicate file has a BIG issue :
When clicking "select all", it realy select every file, so you erase the original and the copy ! Thanks to the warning message, I avoid this catastrophe, but when you have 1,234 duplicates, you will spend a few hours selecting every file in the list.
I beleive the tool should search for every directory containing this files, then, group duplicated files in duplicated directories showing the compleate path, and the, you can choose to delete a directory ( in my case, it's albums of music and fotos which are duplicated, so il whill divide the number of clics by 5~10 ).
It may also be possible to erase the file whitch is the uper or downer in the file system ( for instance, delete /home/x/photo/double.png and not /home/x/photo/november2006/1st/double.png)
Report
yogin
12 years ago
+[5 mp3 files, 15kB each]
+[2 text files, 1kB each]
Report
pixelbeat
14 years ago
http://www.pixelbeat.org/fslint/
It allows you to select all but the "first", "oldest", "newest" in each group.
Report
bram85
14 years ago
Report
yogin
12 years ago
If you observered anything else, then either: file content has changed after scanning was finished or you found a bug (in that case please provide more information).
Report
EliasP
14 years ago
It was as fast as it has never been before.
It's a Gentoo running since more than 4 years without any re-installation and I always thought dead files couldn't have any impact on my system performance, but now, im enlightened ;-)
Thank you for this great tool... I hope it get's Portage support integrated soon.
Report