LOGO

Automatically Clean Your Linux PC with Cruftbuster

June 27, 2011
Automatically Clean Your Linux PC with Cruftbuster

Declutter Your Linux System with Cruftbuster

Are your Linux folders overflowing with a multitude of files requiring organization? If so, Cruftbuster offers a solution. It’s an automated, self-cleaning utility designed to streamline your messy directories.

Manually relocating or deleting files is an option, but why undertake that effort when your computer can handle it automatically? Cruftbuster excels at this task.

This freeware application for Linux is designed to organize your files efficiently. It draws inspiration from Belvedere, a well-known tool created by Adam Pash of Lifehacker.

Important Disclaimer

Editor's Note: Cruftbuster is an open-source project developed by Zainul Franciscus, a contributor to How-To Geek.

As a precaution, a disclaimer is necessary. Should this software cause any issues with your system or result in the unintended deletion of files, we are not responsible. Back up your data before use!

Cruftbuster automates the process of file management, saving you time and effort. It provides a hands-off approach to maintaining a clean and organized Linux environment.

Cruftbuster Installation Guide

Numerous enhancements are planned for Cruftbuster, and ongoing development is focused on resolving existing issues. Currently, a primary objective is the creation of a more intuitive installer. For the time being, Cruftbuster is distributed as a tar archive.

Testing has been conducted on Ubuntu 10.10 and 11.04, as well as OpenSuse, and compatibility with Gnome-based desktop environments has been confirmed.

Upon extracting the tar file, you will encounter several files with unfamiliar extensions. These can largely be disregarded.

how-to-automatically-clean-your-linux-pc-with-cruftbuster-1.jpg

To launch Cruftbuster, simply execute the MainScreen.py file. Executable permissions must first be granted via the terminal using the following command:

chmod +x MainScreen.py

Alternatively, this permission can be set directly within your file explorer by selecting the option to "Allow executing file as program."

how-to-automatically-clean-your-linux-pc-with-cruftbuster-2.jpg

After granting execution permission, Cruftbuster can be initiated from the command line. Double-clicking MainScreen.py will also launch the application.

how-to-automatically-clean-your-linux-pc-with-cruftbuster-3.jpg

If you prefer that Cruftbuster reside solely in your system tray upon startup, utilize the ‘-minimized’ switch when running the program.

python MainScreen.py –minimized
how-to-automatically-clean-your-linux-pc-with-cruftbuster-4.jpg

Utilizing Cruftbuster for Automated File Management

To begin, initiate the process by selecting the plus button located in the lower-left corner of the application interface.

how-to-automatically-clean-your-linux-pc-with-cruftbuster-5.jpg

Subsequently, designate the folders that you wish for Cruftbuster to monitor for organization.

how-to-automatically-clean-your-linux-pc-with-cruftbuster-6.jpg

After folder selection, define the actions Cruftbuster should perform on those folders. This is achieved by clicking the plus symbol positioned on the right side of the screen.

how-to-automatically-clean-your-linux-pc-with-cruftbuster-7.jpg

A new window will appear, allowing you to establish rules for organizing the selected folder. For instance, this example demonstrates configuring Cruftbuster to relocate any .mp4 file into a designated video folder.

how-to-automatically-clean-your-linux-pc-with-cruftbuster-8.jpg

Cruftbuster offers a versatile range of actions. These include moving, copying, renaming, deleting files, sending them to the recycle bin, or launching them with their default applications. You are able to create as many rules as needed.

how-to-automatically-clean-your-linux-pc-with-cruftbuster-9.jpg

The test function is exceptionally useful for verifying the correct setup of your defined rules.

how-to-automatically-clean-your-linux-pc-with-cruftbuster-10.jpg

Upon confirming the desired outcome, select 'Ok' to save the rule. The newly created rule will then be displayed in the right-hand column.

how-to-automatically-clean-your-linux-pc-with-cruftbuster-11.jpg

Observe that Cruftbuster features three distinct tabs. The initial tab showcases all folders designated for monitoring. The subsequent tab controls the frequency with which your trash folder is emptied.

how-to-automatically-clean-your-linux-pc-with-cruftbuster-12.jpg

The final tab allows configuration of how often Cruftbuster executes the rules you have established.

how-to-automatically-clean-your-linux-pc-with-cruftbuster-13.jpg

For a more comprehensive understanding of Cruftbuster’s functionality, access the user guide through the help menu. A PDF document containing detailed information about the application will be presented.

how-to-automatically-clean-your-linux-pc-with-cruftbuster-14.jpg

We encourage you to experiment with Cruftbuster and share any feature requests you may have. Your feedback is valuable. If you possess coding or testing skills, please submit your email address via the comments form, and we will contact you when opportunities arise. We assure you that your email will be kept confidential.

We extend our gratitude to Asad Jibran Ahmed and Sigmund Vestergaard, two exceptionally skilled coders. Their dedicated efforts in coding and testing were instrumental in bringing Cruftbuster to fruition.

Download Cruftbuster

#Cruftbuster#Linux#clean#automatic cleaning#system maintenance#file removal