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

trash-restore

Trash-restore is a command-line tool used to restore files from the trash or recycle bin on Unix-like systems. It is designed to provide a simple and efficient way to recover deleted files.

  1. The primary purpose of trash-restore is to retrieve files that have been deleted by mistake or intentionally moved to the trash.
  2. It works by locating the deleted files in a specific directory on the system and providing options to restore them.
  3. The tool is compatible with various Unix-like operating systems, including Linux, macOS, and BSD.
  4. Trash-restore supports both individual file recovery and batch recovery, allowing users to restore multiple files at once.
  5. It provides options to filter recovered files based on criteria such as file type, size, or modification date.
  6. Trash-restore retains the original file metadata during restoration, preserving attributes like permissions, ownership, and timestamps.
  7. The tool offers a user-friendly interface with clear instructions and informative error messages to ensure smooth usage.
  8. Trash-restore also supports the ability to restore files from specific subdirectories within the trash.
  9. It provides the option to restore files to their original location or specify a new destination directory during recovery.
  10. Trash-restore is a versatile tool that can be integrated into scripts or other workflow automation tools, making it useful for automated file recovery tasks.

List of commands for trash-restore:

  • trash-cli:tldr:144e8 trash-cli: Restore a specific file or directory by a number from the displayed list from the current trashcan.
    $ trash-restore
    try on your machine
    explain this command
tool overview