Press Return to confirm and run the command.This won't show as you type it, which is a security feature. Enter your Mac's administrator password to authorize the command.Go back to the Trash and drag the files you want to delete to the Terminal window.This is the command to force-delete files. Type Terminal and press Return to launch it. Table of Contents: To delete files with Mac Trash: Click and drag the file onto the Trash icon in the Dock, and then release your mouse or trackpad button.You should therefore proceed with caution when using the nuclear method described below: You may have accidentally sent something to the Trash that's important for a certain app to operate. However, it might be that macOS is preventing you from deleting files for a good reason. To empty the Trash securely by default, choose Finder > Preferences > Advanced, then select Empty Trash securely. It also gets around any other errors that prevent the Trash from emptying.Īs such, it's an effective way of permanently deleting files. This overrides any locks on your files and deletes files that are still in use. This is quite useful if your Mac won't let you unlock any files.Īnother option is to use a Terminal command to force the Trash to empty. Go back to Trash and drag the file you want to delete to the Terminal.This command means list open files and displays a list of files in use with the processes that opened them. If not, another option is to use Terminal to check which app has the file locked. How to force-empty the trash in macOS High Sierra. This will delete the file if a startup app was using it. You will see a list of the applications and processes using the file in the Terminal window.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |