Remove one or more protected files via drag and drop

Oct 23, '02 09:26:02AM

Contributed by: Anonymous

To remove several files, write "rm " in the Terminal (or "rm -dR " for a directory); make sure to include the space at the end). Then simply drag and drop one or several files from the Finder to the Terminal window. If you drag them in sequentially, you have to manually add a space between the names.

This may not seem so handy for normal use. However, it also works with "sudo rm ", which allows you to remove files that normally are difficult.

[Editor's note: We've run stuff on drag and drop to the Terminal before, but not in conjunction with "rm" as best as I can tell...]

Comments (3)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20021023062602165