1LIZARDFS-GETTRASHTI(1) LIZARDFS-GETTRASHTI(1)
2
3
4
6 lizardfs-gettrashtime, lizardfs-settrashtime, lizardfs-rgettrashtime,
7 lizardfs-rsettrashtime - get or set trash time
8
10 lizardfs gettrashtime [-r] [-n|-h|-H] OBJECT...
11
12 lizardfs rgettrashtime [-n|-h|-H] OBJECT...
13
14 lizardfs settrashtime [-r] [-n|-h|-H] SECONDS[+|-] OBJECT...
15
16 lizardfs rsettrashtime [-n|-h|-H] SECONDS[+|-] OBJECT...
17
19 gettrashtime and settrashtime operate on object’s trashtime value, i.e.
20 the number of seconds the file is preserved in special trash directory
21 before it’s finally removed from filesystem. Trashtime must be
22 non-negative integer value. gettrashtime prints current trashtime value
23 of given object(s).
24
26 -r
27 This option enables recursive mode, which works as usual for every
28 given file, but for every given directory additionally prints
29 current trashtime value of all contained objects (files and
30 directories).
31
32 N\[+|-]
33 If new value is specified in N+ form, trashtime value is increased
34 to N for objects with lower trashtime value and unchanged for the
35 rest. Similarly, if new value is specified as N-, trashtime value
36 is decreased to N for objects with higher trashtime value and
37 unchanged for the rest. These tools can be used on any file,
38 directory or deleted (trash) file.
39
40 -n, -h, -H
41 These options are described in lizardfs(1).
42
44 rgettrashtime and rsettrashtime are deprecated aliases for gettrashtime
45 -r and settrashtime -r respectively.
46
48 Copyright 2008-2009 Gemius SA, 2013-2016 Skytechnology sp. z o.o.
49
50 LizardFS is free software: you can redistribute it and/or modify it
51 under the terms of the GNU General Public License as published by the
52 Free Software Foundation, version 3.
53
54 LizardFS is distributed in the hope that it will be useful, but WITHOUT
55 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
56 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
57 for more details.
58
59 You should have received a copy of the GNU General Public License along
60 with LizardFS. If not, see http://www.gnu.org/licenses/.
61
63 lizardfs(1)
64
65
66
67 01/26/2021 LIZARDFS-GETTRASHTI(1)