![]() ![]() Confirm with the dialog that you wish to delete the files permanently and immediately. Using sudo requires the administrator password but combined with rm it will absolutely forcibly remove any file regardless of whats going on with it. The quickest way to access the Delete Immediately function in Mac OS X is through a keyboard shortcut: Select the file (s) or folder (s) you wish to instantly and permanently delete and hit the following keystroke sequence: Option + Command + Delete. 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. Advanced: Forcibly Emptying the Trash via Command Line Now you can try emptying the Trash as usual through the Dock, a keyboard shortcut to dump the file, or go the rm route mentioned below. 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 Therefore, you must first turn off SIP on Mac before utilizing a third-party tool to perform Mac forcibly empty Trash in use. Change Permissions To Forcibly Empty Trash Do any of the above to select items, then right-click on the selection and choose Move to Bin. Some users have also reported Command+Shift+Option+Delete to work as a method of forcing the Trash to empty regardless of a file being locked or owned by another user. If you dont mind using the terminal, and dont need the data zeroed, just type Sudo rm -rf /.Trash/ Fast, and it should delete any hard to delete files. If that doesn’t work, proceed with the methods outlined below. Step 2A window pops up and asks if you want to. First: 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. Step 1Open Finder from your Launchpad, pull down Finder menu and choose Secure Empty Trash option.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |