![]() This is intentionally not spelled out easily to try and prevent any novice users from accidentally deleting something significant. If that still doesn’t work you can try the ultimate delete approach using sudo and -rf *. ![]() ![]() Have backups ready or don’t bother with this method, proceed at your own risk.Ĭonfirm you are in the proper directory and the only files you see are the ones you want to forcibly remove by using ls: If you don’t know what you’re doing you could easily delete crucial system or personal files. Make sure the syntax is correct with this, the “sudo rm -rf” command will erase anything without warning. This is a last resort and intended only for advanced users. Now you can try emptying the Trash as usual through the Dock, or go the rm route mentioned below.Īdvanced: Forcibly Emptying the Trash via Command Line Launch Terminal found in /Applications/Utilities/ and then proceed: The first approach uses the chflags command to change the flags of all files in the Trash If that doesn’t work, proceed with the methods outlined below.Ĭhange Permissions To Forcibly Empty Trash We will cover two different approaches to this, the first changes a files flags to attempt to unlock the file in question, and the second is a no-nonsense force delete.įirst: Try quitting all apps to release the file lock or permissions, then attempt to Secure Empty Trash by holding down the Command key and right-clicking the Trash icon. ![]() The most common variations of the errors are usually “Operation cannot be completed because the item “File” is in use” or “because the file is locked”, sometimes you can get around this by just quitting open applications or rebooting the Mac, but if you don’t want to do either you can also forcibly remove files through the command line. Mac OS X can sometimes throw permissions errors when trying to delete files or empty the Trash. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |