restore-trash(1)

restore-trash1

Restore for command line trash utility.

Usage

restore-trash

Overview

Use for restore a trashed file or directory, in the original path. This command is a part of trash-cli package that provides a command line interface trashcan utility compliant with the FreeDesktop.org Trash Specification. It remembers the name, original path, deletion date, and permissions of each trashed file.

Examples

$ restore-trash
0 2007-08-30 12:36:00 /home/andrea/foo
1 2007-08-30 12:39:41 /home/andrea/bar
2 2007-08-30 12:39:41 /home/andrea/bar2
3 2007-08-30 12:39:41 /home/andrea/foo2
4 2007-08-30 12:39:41 /home/andrea/foo
What file to restore [0..4]: 4
$ ls foo
foo

Releases

4 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 7–9

Bugs

Report bugs to http://code.google.com/p/trash-cli/issues

Authors

Trash was written by Andrea Francia <[email protected]> and Einar Orn Olason <[email protected]>. This manual page was written by Steve Stalcup <[email protected]>. Changes made by Massimo Cavalleri <[email protected]>.

From trash-cli 0.12.9.14-2.1 in Debian 9 (Stretch). Parsed by carta from the page's man source.