1TRASH-EMPTY(1) General Commands Manual TRASH-EMPTY(1)
2
3
4
6 trash-empty - Empty for Command line trash utility.
7
8
10 Trash-empty [arguments]
11
12
14 Remove for ever any trashed file and trashed directory. This command
15 is a part of trash-cli package that provides a command line interface
16 trashcan utility compliant with the FreeDesktop.org Trash Specifica‐
17 tion. It remembers the name, original path, deletion date, and permis‐
18 sions of each trashed file.
19
20
22 To remove all trashed files, use 'emtpy-trash'.
23
24 To remove files that have been in the trash more than a given number of
25 days, use 'trash-empty x', 'x' representing the nuber of days.
26
27
29 $ date
30 Tue Feb 19 20:26:52 CET 2008
31 $ trash-list
32 2008-02-19 20:11:34 /home/einar/today
33 2008-02-18 20:11:34 /home/einar/yesterday
34 2008-02-10 20:11:34 /home/einar/last_week
35 $ trash-empty 7
36 $ trash-list
37 2008-02-19 20:11:34 /home/einar/today
38 2008-02-18 20:11:34 /home/einar/yesterday
39 $ trash-empty 1
40 $ trash-list
41 2008-02-19 20:11:34 /home/einar/today
42 $ trash-empty
43 $ trash-list
44 <none>
45
46
48 Report bugs to http://code.google.com/p/trash-cli/issues
49
50
52 Trash was written by Andrea Francia <andreafrancia@users.source‐
53 forge.net> and Einar Orn Olason <eoo@hi.is>. This manual page was
54 written by Steve Stalcup <vorian@ubuntu.com>. Changes made by Massimo
55 Cavalleri <submax@tiscalinet.it>.
56
57
59 trash-put(1), trash-restore(1), trash-list(1), and the FreeDesktop.org
60 Trash Specification at http://www.ramendik.ru/docs/trashspec.html.
61
62 Both are released under the GNU General Public License, version 2 or
63 later.
64
65
66
67 TRASH-EMPTY(1)