Problem
When A Mac user tries to empty their trash store they encounter one of the following problems. The the rash fails with an error message. or the trash never empties completely and there are always items left.
Applies to
- Macbook
- Mac
Resolution
You can force delete of trash files if there was a problem emptying Trash.
- Press COMMAND+SPACE then enter the command Terminal and press ENTER. The Terminal app will launch.
- Within Terminal window at the command prompt enter/copy the text shown below and leave the cursor at the end of the command line and proceed directly to the next step.
sudo rm -rf
- Leave the Terminal window open and click on the the Trash icon in the dock to bring up the list of trashed files.
- Drag one or more files into the terminal window command line. The files will then show at the end of the command entered in step two above.
- Then press ENTER to run the command.
- When prompted respond in Terminal by typing the Mac logon password and press ENTER. Files will then be permanently deleted from the trash area.
- Then return to the Finder window of trashed files, this window should show no files in it now.
Note
The above steps have been verified up to Mac OS 14 Sonoma.
Further action