PDA

View Full Version : [SOLVED] Making safe "rm" action?



knurledflanges
February 27th, 2010, 01:46 AM
Hello,
I want a way to be able to delete large files on my external hd in Thunar without the system copying them to the internal drive's trash first. I made a custom action in Thunar of:

rm %F
and that works, but is there a way I can add some kind of safeguard against misclicks, like maybe some way to have the -i option in there and have a terminal pop up? Or does anyone know of a program or some kind of Xfce add-on that does this? Or a way of setting Xfce to just not use trash for files off a certain device? Thanks

aarons6
February 27th, 2010, 05:22 AM
think if you hold the shift down it deletes files without moving them to the trash.

theozzlives
February 27th, 2010, 05:28 AM
Hit Alt+F2, type in:

gconf-editor
go to apps > Nautilus > Preferances and check "enable delete"




Oh, just noticed you're not using GNOME... Never mind

knurledflanges
February 27th, 2010, 05:52 AM
think if you hold the shift down it deletes files without moving them to the trash.

excellent, thanks!

d3v1150m471c
February 27th, 2010, 06:00 AM
Correct me if I am wrong but I think rm circumvents the trash process.