Simple tip to auto-clean your trash

view full story

http://www.linuxandlife.com – I download a lot using torrents everyday. And after finishing watching the movies or installing stuffs, I usually delete the downloaded files using the option of Transmission. However, one thing I just noticed today is that when you use the option "Delete Files and Remove" on Transmission, the files arent permanently deleted but moved to the trash folder. In short, there were a lot of undeleted files in my trash that I was unaware of until today. So I came up with a simple method to auto-clean up the trash everyday. The command is very simple, here is it: rm -r /home/username/.local/share (Distributions)