Forrest logo
back to the trash-list tool

trash-cli:tldr:e772f

trash-cli: List trashed files and directories in the current trashcan.
$ trash-list
try on your machine

The command "trash-list" is used to display a list of files or directories that have been moved to the trash or recycling bin on a system.

When a file or directory is deleted from the file system, it is typically moved to a temporary storage location called the trash or recycle bin instead of being permanently removed. This is done in case the user wishes to restore the file later or in case the deletion was accidental.

The "trash-list" command provides a way to view the contents of the trash/recycle bin. When executed, it will display a list of file names, along with additional details such as the date and time they were trashed, their sizes, and possibly other metadata. This allows users to see which files are in the trash, and choose whether to permanently delete them or to restore them back to their original location.

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-list tool