Permanently delete files from trash bin


Sometimes when emptying the trash some files stays and refused to be deleted!


You just have to use a command:

Start the Terminal

  • Type "sudo rm * * *-R"
  • Drag files, folders that you want to remove as a result of this command
  • Confirm
  • Give an administrator password
  • Confirm


  • WARNING do not forget to drag files to the end of the command.
  • Substitute "*" with spaces.
  • Take care about using the upper case "R". It can delete folders and files.
  • Quotation marks are not to be entered.
Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Permanently delete files from trash bin », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (