Azimout's Linux weblog


leave a comment »

Normally it is not possible to restore files or folders that you have removed with the rm command. In order to enable a functionality similar to the Trash Can / Recycle Bin, install the trash-cli package and add the following alias into your ~/.bash_aliases file: alias rm=’trash’

The following commands allow you to list the contents of the trash can, to restore a deleted file or folder, and to empty the trash can: list-trash, restore-trash, empty-trash


Written by azimout

04/08/2011 at 08:35

Posted in Tricks

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: