SYNOPSIS

restore-trash

DESCRIPTION

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

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]>.

RELATED TO restore-trash…

trash-put(1), trash-list(1), trash-empty(1), and the FreeDesktop.org Trash Specification at http://www.ramendik.ru/docs/trashspec.html.

Both are released under the \s-1GNU\s0 General Public License, version 2 or later.