This is for the gnome trash, I'm not sure where KDEs trash is located... But put this somewhere in your users ~/.bashrc:
Code:
alias rm='mv --target-directory ~/.Trash'
Now, if rm a file or directory as that user, it should go to trash instead of permanent deletion.
--- Beware that you have to re-login first for this to take effect! ---
torimar
Recycle bins will only be found in GUI enhanced Linux, and they only apply to files you deleted using the graphical interface in some way.
They do not apply to deletions via the 'rm' command on the CLI.
If you run a server, chances are it is CLI only, so you would have to check elsewhere for the space that is not freed.
Mabe you deleted links to files, not the files themselves?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
woolmilkporc
Where do you have "space issues", and what did you delete?
Please keep in mind that "available space" is a filesystem property, so deleting files in one FS will only free up space in that FS and nowhere else.
Check with "df" for filesystems and space parameters!
Further, deleting a file which is held open by some process will not yield free space until the process holding the concerned file handle ends!
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
http://www.go2linux.org/linux-trash-can-recycle-bin-console
jppinto