Forrest logo
back to the trash tool

trashy:tldr:81ee6

trashy: Remove a specific file from the trash.
$ trash empty ${file}
try on your machine

The command "trash empty ${file}" is used to empty the contents of the trash bin for a specific file or directory.

Here's a breakdown of the command:

  • "trash" refers to the trash bin or recycle bin on your system where deleted files are stored before being permanently deleted.

  • "empty" is a command option or flag that specifies the action to empty the trash bin.

  • "${file}" is a placeholder for the actual file or directory that you want to empty from the trash bin. The variable should be replaced with the specific file or directory path.

By running this command, any files or directories specified by ${file} will be permanently deleted from the trash bin, freeing up the disk space they occupied. It's important to note that once the trash bin is emptied, the files cannot be recovered, so use this command with caution.

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