Force-delete an item from desktop or Trash....this also will remove a locked
file/application .... or ... a “file that is in use”
1. Launch Terminal...type/copy/paste...
rm <space> This deletes a file only
sudo rm -rf <space> ..this deletes file or folder ,,,or ...
sudo rm -R <space> this deletes file or folder
2. Drag the offending item into the Terminal window. The path to it will appear.
•To force-delete more than one item from the trash....click a item and press Shift or Command as you click additional items .
3. Click on Terminal window, press .... Enter
4. type your administrator password. Press ....Enter
5. Click on the Desktop or the Trash window and the file will vanish.
• If this does not work, then visit The XLab FAQs ....
http://www.thexlab.com/faqs/faqs.html
and read the FAQ on Trash problems for additional solutions.
george