Mac OS - Trashed files do not empty

Mac OS - Trashed files do not empty

Problem

When A Mac user tries to empty their trash store.  Either the trash fails to empty so there are always items left there or the operation produces error message.

Applies to

  1. Macbook
  2. Mac

Resolution

You can force delete of trash files if there was a problem emptying Trash.

  1. Press COMMAND+SPACE then enter the command Terminal and press ENTER.  The Terminal app will launch.
  2. 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 

  3. Leave the Terminal window open and click on the the Trash icon in the dock to bring up the list of trashed files.
  4. 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.
  5. Then press ENTER to run the command.
  6. When prompted respond in Terminal by typing the Mac logon password and press ENTER.  Files will then be permanently deleted from the trash area.
  7. 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

If the above does not help pleases consider using Disk Utility for repairing disk permissions.  Afterwards try the steps above to remove trashed files.
    • Related Articles

    • Check MacBook CPU task status on Mac OS

      Information Below steps for checking task status on Mac OS Application • Use these steps for when a MacBook is particularly slow • Use these steps if the MacBook is becoming excessively warm or fan noise is high. Preparation • Plug in your MacBook if ...
    • Apple – Control Mac OS update behaviour

      Information Under default settings Mac OS will push major updates and interim security updates. In some circumstances it may be necessary to change these settings to maintain compatibility with specialist software. Resolution Follow the directions ...
    • Macbook - Checking battery health

      Problem A Macbook laptop is experiencing reduced battery uptime or is draining abnormally quickly. Note The internal rechargeable Macbook battery is covered under Apple's warranty for the first year. Rechargeable batteries are subject to ageing ...
    • Mac OS - Boot a Mac or MacBook into recovery mode

      Problem A Mac computer does not properly boot into Mac OS normally, and you need to boot the machine into recovery mode to fix the problem. Detail Recovery mode is a state that you can boot into that allows maintenance to be carried out to restore ...
    • Mac OS - Direct download Mac OS major update

      Problem The Check For Updates dialogue is not working as expect or you wish to directly install a specific Mac OS update. Resolution Press Command+Space and enter Terminal and luanch the result. Use the command below and press ENTER to obtain a list ...