![]() You may have difficulty deleting a file if it’s been locked. If it’s a background process that’s using the file, open Activity Monitor and terminate the process. You will see a list of the applications and processes using the file in the Terminal window.Drag the file that’s in use from the Trash to the Terminal window.Now open Terminal and type lsof (followed by a space).Click on the Trash so that a Finder window opens up.If you want to try and identify which application is using the troublesome file, you could try the following Terminal Command: Now you should be able to empty your trash and delete the file. If that doesn’t work, check to see if there is a startup item that is using the file, or just start up the Mac in Safe Mode – which will stop any Startup items running.In that case, try restarting your Mac then attempt to empty the trash. If that doesn’t work the app may still be using the file for a background process.You should now be able to empty the trash. Quit the app that you think might be using the file (or quit all open apps if you aren’t sure). It’s in your Applications > Utilities folder, or you can quickly bring it up through Spotlight search on the top right of the menu bar.I tried all the known tricks, but they hadn't worked and some files in the trash kept on blocking its full emptying. I had been looking for this article for few days due to a stubborn trash that wouldn't empty. COMMAND TO FORCE EMPTY TRASH HOW TOI wont post that command though, its dangerous in the hands of those who dont know its power. How to force-empty the trash in macOS High Sierra. Here are a few solutions to delete an “in use” file from the Trash: I just do it the quick and dirty way, force remove in terminal. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |