Forrest logo
back to the trash tool

trashy:tldr:8e0f1

trashy: Restore all files from the trash.
$ trash restore --all
try on your machine

The command "trash restore --all" is used to restore all the files and directories that have been previously moved to the trash or recycle bin.

The "trash" command is a utility in some operating systems (such as Linux) that provides functionality similar to the "delete" or "move to recycle bin" options in a graphical user interface. It allows users to interact with the trash or recycle bin from the command line.

In this specific command, "restore" is the action being performed, indicating that we want to restore the files and directories. "--all" is an option that instructs the command to restore all items in the trash, rather than specifying individual files or directories.

By executing this command, all the files and directories that are present in the trash or recycle bin will be restored to their original locations before being placed in the trash or recycle bin.

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