Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
3  
What operating system? –  Doug Harris Oct 26 '10 at 13:18

1 Answer 1

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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