Showing posts with label clean. Show all posts
Showing posts with label clean. Show all posts

Friday, March 21, 2014

The easiest way to auto clean up your trash

0 comments

The easiest way to auto clean up your trash

I noticed when I remove files either torrent files, or photos, videos ..., they just go to the Trash
and I go to Trash to remove them for the last time.

What I want to show here, is a way to let you do an auto clean for your Trash, without your Intervention.

To make that happens, just follow the instructions :

rm -r ~/.local/share/Trash/files/*

This command just cleans the Trash.

But we want to auto clean it, so we install this application first : crontab trick

and run the following command :

@daily rm -r ~/.local/share/Trash/files/*

Now you have an automatic daily cleaning for your Trash.

To do it without a need of any additional application, you simply go to Startup Application Preferences.

And add the previous command which is :

rm -r ~/.local/share/Trash/files/*

auto clean trash

Enjoy !

     
Read more...