Re: Disable Trash completely

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

 



Hello,

| 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:/

I think 

   kfmclient move "$@" trash:/

is more robust.  When the filenames contain blanks, $@ and "$@"
behave differently (and the latter does the correct thing). (*)
I mean this situation, say,

   $ trash 'file name'

Regards,
Ryo
--------
(*) Usually, a double-quoted string is a single string;
for example, "$USER's home directory is $HOME." is a single string.
But, "$@" is an exception (and I think it's the only exception).
___________________________________________________
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