1TRASH-RESTORE(1) General Commands Manual TRASH-RESTORE(1)
2
3
4
6 trash-restore - Restore for Command line trash utility.
7
8
10 trash-restore
11
12
14 Use for restore a trashed file or directory, in the original path.
15 This command is a part of trash-cli package that provides a command
16 line interface trashcan utility compliant with the FreeDesktop.org
17 Trash Specification. It remembers the name, original path, deletion
18 date, and permissions of each trashed file.
19
20
22 $ trash-restore
23 0 2007-08-30 12:36:00 /home/andrea/foo
24 1 2007-08-30 12:39:41 /home/andrea/bar
25 2 2007-08-30 12:39:41 /home/andrea/bar2
26 3 2007-08-30 12:39:41 /home/andrea/foo2
27 4 2007-08-30 12:39:41 /home/andrea/foo
28 What file to restore [0..4]: 4
29 $ ls foo
30 foo
31
32
34 Report bugs to https://github.com/andreafrancia/trash-cli/issues or to
35 andrea@andreafrancia.it
36
37
39 Tweet (to @andreafrancia or #trash-cli) or donate 1, 2 or 5 euros using
40 paypal: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_but‐
41 ton_id=93L6PYT4WBN5A
42
43
45 Trash was written by Andrea Francia <andrea@andreafrancia.it>. The
46 original version of trash-empty was contributed by Einar Orn Olason
47 <eoo@hi.is>. The first version of manual pages was written by Steve
48 Stalcup <vorian@ubuntu.com> and was modified by Massimo Cavalleri <sub‐
49 max@tiscalinet.it>.
50
51
53 trash-put(1), trash-list(1), trash-empty(1), trash-rm(1), and the
54 FreeDesktop.org Trash Specification at
55 http://www.ramendik.ru/docs/trashspec.html.
56
57 Both are released under the GNU General Public License, version 2 or
58 later.
59
60
61
62 TRASH-RESTORE(1)