Forrest logo
tool overview
On this page you find all important commands for the CLI tool trash-empty. If the command you are looking for is missing please ask our AI.


The command line tool "trash-empty" is used to empty the trash or recycle bin on a Unix-like operating system.

  1. It helps to permanently delete all the files and directories stored in the trash.
  2. This command is often preferred over traditional deletion methods as it allows for easy and secure removal of files.
  3. By default, the trash-empty command targets the user's trash directory, but can also be used to empty the trash of other specified directories.
  4. It ensures that the deleted files cannot be easily recovered, providing an extra layer of data protection.
  5. The trash-empty command can be used as a convenient alternative to manually deleting files from the graphical user interface (GUI).
  6. It supports batch operations, allowing for the removal of multiple files and directories at once.
  7. The command also offers various options and flags to customize its behavior according to specific requirements.
  8. A confirmation prompt is typically displayed before the actual deletion to prevent accidental removal.
  9. The trash-empty command is relatively simple and easy to use, making it suitable for both beginner and advanced users.
  10. It aids in maintaining disk space and keeping the system organized by efficiently clearing unnecessary files from the trash.

List of commands for trash-empty:

tool overview