PDA

View Full Version : [SOLVED] How to manage Trash from command line in GNOME (delete, list, restore and empty)



swamytk
June 8th, 2010, 07:53 AM
Trash in GNOME is generally handled in Nautilus file browser. Trash icon’s context menu provides shortcut to empty trash. But while working in command line, you may not prefer to empty trash by going to Trash icon in panel or file browser.

In older version of GNOME, the trash folder is in .Trash folder in your home directory (~/.Trash). But in current version (2.30) it is ~/.local/share/Trash/. It has two sub folders called files and info. The files folder contains the files deleted and info directory consists of meta data for each deleted file.

Continue reading here for more techniques on trash management in gnome: http://karuppuswamy.com/wordpress/2010/06/08/how-to-manage-trash-from-command-line-in-gnome-delete-list-restore-and-empty/