I have some important and some unimportant items in trash.

I need to delete the unimportant files from trash, but when I empty the trash, my important files are also deleted.

How to delete trash items using terminal in MacOS?

link|improve this question

80% accept rate
3  
What operating system? – Doug Harris Oct 26 '10 at 13:18
feedback

1 Answer

up vote 1 down vote accepted

sudo rm --f

Then Drag and drop the file(s) you wish to delete onto the open Terminal window

Read more: How to Delete Files Using the Terminal in Mac OS X | eHow.com

link|improve this answer
Thank you for you answer it really help to me – sri Oct 26 '10 at 13:31
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.