![Forrest logo](/images/logo.png)
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.
- The primary purpose of trash-restore is to retrieve files that have been deleted by mistake or intentionally moved to the trash.
- It works by locating the deleted files in a specific directory on the system and providing options to restore them.
- The tool is compatible with various Unix-like operating systems, including Linux, macOS, and BSD.
- Trash-restore supports both individual file recovery and batch recovery, allowing users to restore multiple files at once.
- It provides options to filter recovered files based on criteria such as file type, size, or modification date.
- Trash-restore retains the original file metadata during restoration, preserving attributes like permissions, ownership, and timestamps.
- The tool offers a user-friendly interface with clear instructions and informative error messages to ensure smooth usage.
- Trash-restore also supports the ability to restore files from specific subdirectories within the trash.
- It provides the option to restore files to their original location or specify a new destination directory during recovery.
- 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-restoretry on your machineexplain this command