Disable Trash completely
Stephan Matthiesen
stephan.matthiesen at gmx.de
Wed Dec 27 22:18:37 GMT 2006
Hello,
Am Mittwoch, 27. Dezember 2006 14:48 schrieb Cathal O'Brien:
> On a similar note, is is possible to move the deleted item to the trash
> from the 'rm' command instead of removing permanently?
You can call the kde trash from commandline. Write a script file with the
name "trash" (or whatever you like) with the following content:
kfmclient move $@ trash:/
Now if you call "trash filename" then it will be moved to the kde trash bin.
This is better than "mv filename ~/.local/share/Trash" because the kfmclient
takes care of meta-info (deletion time etc) so that it can be found and
undeleted in the kde trash bin.
Hope this helps
Stephan
--
Stephan Matthiesen
http://www.science-texts.de; http://www.geos.ed.ac.uk/~stephan
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list