10

Possible Duplicate:
Permanently deleting files on Mac OS

In OS X, is there a way to delete a file and bypass Trash? I want an equivalent shortcut for Shift-Delete in Windows.

rodey
  • 1,860
  • 8
  • 23
  • 29
  • 1
    Another related question at Ask Different: [How to remap delete and shift+delete keys to delete and permanently delete a file in Mac OS X Lion?](http://apple.stackexchange.com/questions/45655/how-to-remap-delete-and-shiftdelete-keys-to-delete-and-permanently-delete-a-fil). The easiest way to delete files permanently would probably be to type `rm -r` in a shell and paste or drag the files as arguments. `srm -rs` would delete them securely. – Lri Jul 16 '12 at 10:31
  • Here is my solution to it: http://daemonconstruction.blogspot.in/2013/01/mac-os-x-shift-delete.html – Devarshi Jan 07 '13 at 15:27

1 Answers1

8

There is no equivalent key combination on OS X. You can delete files only passing through the Trash with the shortcut and empty trash using .

Other solutions involve Automator I guess, but I have no other suggestions about that. All I can say is run such a command on the terminal to batch the process:

rm -rf ~/.Trash/*
slhck
  • 223,558
  • 70
  • 607
  • 592
Diego D
  • 263
  • 2
  • 8
  • 2
    This answer is out of date now, and possibly even when it was posted. Option + Command + Delete deletes a file while skipping the Trash. – user428517 Dec 18 '19 at 19:59