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

trash-list

The command line tool "trash-list" is used to display a list of files and directories present in the system's trash bin. It provides a convenient way to view what files have been moved to the trash for potential recovery or deletion.

When executed, "trash-list" scans the trash bin folder and retrieves important metadata about the files, such as their names, sizes, and deletion dates, which are then displayed in a structured format on the command line.

The tool supports both Linux and macOS systems, as these operating systems typically have a trash bin functionality.

"trash-list" is designed to be user-friendly and efficient, allowing users to easily identify and track the files that have been deleted and moved to the trash bin.

By displaying the relevant metadata, users can make informed decisions about which files to restore or permanently delete from the trash bin.

The command line tool can be particularly useful in cases where files were accidentally deleted and need to be recovered without having to manually browse through the trash bin folder.

"trash-list" is typically used in conjunction with other trash-related commands, such as "trash-restore" or "trash-empty", providing a comprehensive set of tools for managing and interacting with the trash bin.

The tool offers various options and flags to customize the output, allowing users to filter, sort, or limit the number of listed files based on their preferences.

"trash-list" is an open-source tool and can be installed via package managers like Homebrew (for macOS) or APT (for Linux), making it easily accessible to users who need to work with the trash bin.

List of commands for trash-list:

tool overview