PDA

View Full Version : Force send to trash?




Chris230291
Aug 15, 2013, 04:45 AM
Hello. Is there a tweak or something that adds the ability to force send a file to trash in the right click menu, even if the file is in use?

Cheers,
Chris.



benwiggy
Aug 15, 2013, 06:42 AM
You could create a Service that runs a shell script, using rm to delete the file.

But I have to ask: do you find yourself needing to "force" files that are in use to the Trash often enough to warrant the use of a Service?

That would suggest some other problem which needs fixing, rather than this.

chabig
Aug 15, 2013, 06:53 AM
You can always send a file to the trash, even if it's in use. You just can't empty the trash while it's in use.

Chris230291
Aug 15, 2013, 07:06 AM
Thanks for the replies!

I do encounter it often but there isn't a problem, i just can't be bothered to see what apps are using said file/s each time.

The file/s are on a server that doesn't have a "trash" (very rarely are the files on my machine). So force emptying the trash isn't an option because there isnt one.

Would it be difficult to add this option or create this shell script?

Thanks,
Chris.