Permanently delete files from trash bin

December 2016




Issue


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

Solution


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

Precautions

  • 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.

Related :

This document entitled « Permanently delete files from trash bin » from CCM (ccm.net) 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.