MacOSX - Force delete stubborn files

June 2017

Sometimes you may want to empty the trash folder, but still the files or folders you want to delete refuse to disappear. To solve this problem, use a UNIX command to be entered in a Terminal. Note: do not forget to drag the files to the end of the command.


Replace "*" by spaces. The uppercase "R" is vital. It deletes files and folders.Don't enter the quotes.
  • Launch the Terminal
  • Type "sudo*rm*-R*"
  • Drag the files you want to delete files after this command
  • Confirm
  • Give an Administrator password
  • Confirm

For more information about the "rm" command, type "man rm" in the Terminal.
<space> to scroll.
<q> to quit.

Related


Published by jak58. Latest update on October 17, 2014 at 10:33 AM by Jeff.
This document, titled "MacOSX - Force delete stubborn files," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).