How to remove unwanted files in Linux

ImageHow to remove unwanted files in Linux

- Download the program “kleansweep”. You could also use a package manager such as Synaptic or Adept Manager if your distribution has it in its repositories. It’s a KDE application, so you’ll probably have to install some dependencies if you use a different desktop environment. A package manager will make the dependencies a lot easier to handle.

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).

Link: http://kde-apps.org/content/show.php?content=28631

- Start kleansweep. If you only want to get rid of files in your home directory, then run it as a regular user. However, if you would like to use it to delete files from anywheres in the file system, then run it as root (kdesu kleansweep or sudo kleansweep).

Tips while using kleansweep:

- Save a backup of the files you’re deleting. This isn’t pointless, as the files aren’t scattered about the drive anymore, and the backup is compressed.

- Do not blindly delete all the files in /tmp. Some files are necessary. Delete downloads or browser files, but leave most intact.

Subscribe / Share

Article by Admin

Authors bio is coming up shortly. Admin tagged this post with: , , , , , Read 515 articles by Admin
It's very calm over here, why not leave a comment?

Leave a Reply

You must be logged in to post a comment.