Sauce Pan

Technology how-to guides for macOS, Linux, Windows, and Cloud providers

How to empty the trash from the terminal on macOS

Updated 2019-04-04 · Published 2019-03-02

You can empty the trash from the terminal, or from a shell script you just wrote, with a simple command.

rm -rf ~/.Trash/*