MacOSX: How to force delete files?

October 2016

MacOSX: How to force delete files?


You have emptied the recycle bin, but some files and folders still remains.


  • To resolve this problem, we are going to make use a UNIX command.
  • Note: remember drag files to the end of the command.
  • Replace the * with spaces.
  • Take notice of the Upper caps letter "R". It can delete files and folders.

Quotation marks must not be entered.
-Start Terminal
- Type " sudo*rm*-R* "
- Drag files, folders that you want to remove after this command
- Confirm
-Give an administrator password
- Confirm
For more information on the "rm" command , type "man rm" in the Terminal.
-<space> to scroll.
-<q>to quit.

Related :

This document entitled « MacOSX: How to force delete files? » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.