aos trash
The Trash / Recycle Bin: how much it holds, and emptying it
2 commands. Run aos trash --help for the same list from the binary, or see every group.
The Trash (macOS), the Recycle Bin on every drive (Windows) and the freedesktop home trash (Linux). size counts the items and bytes in it. empty deletes them permanently. At a terminal it asks y/N first; anywhere else (an agent, MCP, a pipe) it refuses unless given --yes, so an agent has to get the person’s agreement before it passes the flag. On macOS, reading the Trash needs Full Disk Access for the terminal, and emptying goes through Finder.
Commands
Section titled “Commands”aos trash empty
Section titled “aos trash empty”Permanently delete everything in the Trash (asks first unless –yes)
Under WSL / SSH: runs inside WSL (where aos was started). How the host works
aos trash empty [--yes]| flag | values | meaning |
|---|---|---|
--yes |
Optional |
aos trash empty # asks y/N at a terminalaos trash empty --yes # no question; required when not at a terminalaos trash size
Section titled “aos trash size”Print how many items the Trash holds and how much space they take
Under WSL / SSH: runs inside WSL (where aos was started). How the host works
aos trash size [--json]| flag | values | meaning |
|---|---|---|
--json |
Optional |
aos trash sizeaos trash size --json