Re: Disable Trash completely

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux