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 'trash-empty' without arguments.
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 number 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 https://github.com/andreafrancia/trash-cli/issues or to
49 andrea@andreafrancia.it
50
51
53 Tweet (to @andreafrancia or #trash-cli) or donate 1, 2 or 5 euros using
54 paypal: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_but‐
55 ton_id=93L6PYT4WBN5A
56
57
59 Trash was written by Andrea Francia <andrea@andreafrancia.it>. The
60 original version of trash-empty was contributed by Einar Orn Olason
61 <eoo@hi.is>. The first version of manual pages was written by Steve
62 Stalcup <vorian@ubuntu.com> and was modified by Massimo Cavalleri <sub‐
63 max@tiscalinet.it>.
64
65
67 trash-put(1), trash-list(1), trash-restore(1), trash-rm(1), and the
68 FreeDesktop.org Trash Specification at
69 http://www.ramendik.ru/docs/trashspec.html.
70
71 Both are released under the GNU General Public License, version 2 or
72 later.
73
74
75
76 TRASH-EMPTY(1)