Forrest logo
back to the trash tool

trashy:tldr:8e645

trashy: Remove all files from the trash.
$ trash empty --all
try on your machine

The command "trash empty --all" is used to empty the trash or recycle bin on a system, removing all files and folders contained within it.

Here's a breakdown of the command:

  • "trash" refers to a command-line utility or program used to manage the trash or recycle bin on a system. This utility typically provides options to delete or restore files from the trash.

  • "empty" is an argument or option of the "trash" command, indicating that you want to empty the trash.

  • "--all" is another argument or option of the "trash" command, specifying that all files and folders in the trash should be deleted. Without this option, only selected files/folders might be emptied.

So, when you run the command "trash empty --all," it will instruct the system's trash utility to permanently remove all files and folders from the trash, freeing up the disk space occupied by these items.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the trash tool