Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Chris230291

macrumors member
Original poster
Feb 22, 2011
90
0
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

macrumors 68020
Jun 15, 2012
2,382
201
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

macrumors G4
Sep 6, 2002
11,255
8,952
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

macrumors member
Original poster
Feb 22, 2011
90
0
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.