'\" t .\" Title: lizardfs-gettrashtime .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 06/17/2017 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "LIZARDFS\-GETTRASHTI" "1" "06/17/2017" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" lizardfs-gettrashtime, lizardfs-settrashtime, lizardfs-rgettrashtime, lizardfs-rsettrashtime \- get or set trash time .SH "SYNOPSIS" .sp .nf \fBlizardfs gettrashtime\fR [\fB\-r\fR] [\fB\-n\fR|\fB\-h\fR|\fB\-H\fR] \fIOBJECT\fR\&... .fi .sp .nf \fBlizardfs rgettrashtime\fR [\fB\-n\fR|\fB\-h\fR|\fB\-H\fR] \fIOBJECT\fR\&... .fi .sp .nf \fBlizardfs settrashtime\fR [\fB\-r\fR] [\fB\-n\fR|\fB\-h\fR|\fB\-H\fR] SECONDS[\fB+\fR|\fB\-\fR] \fIOBJECT\fR\&... .fi .sp .nf \fBlizardfs rsettrashtime\fR [\fB\-n\fR|\fB\-h\fR|\fB\-H\fR] SECONDS[\fB+\fR|\fB\-\fR] \fIOBJECT\fR\&... .fi .SH "DESCRIPTION" .sp \fBgettrashtime\fR and \fBsettrashtime\fR operate on object\(cqs \fItrashtime\fR value, i\&.e\&. the number of seconds the file is preserved in special \fItrash\fR directory before it\(cqs finally removed from filesystem\&. \fITrashtime\fR must be non\-negative integer value\&. \fBgettrashtime\fR prints current \fItrashtime\fR value of given object(s)\&. .SH "OPTIONS" .PP \fB\-r\fR .RS 4 This option enables recursive mode, which works as usual for every given file, but for every given directory additionally prints current \fItrashtime\fR value of all contained objects (files and directories)\&. .RE .PP \fIN\fR\e[\fB+\fR|\fB\-\fR] .RS 4 If new value is specified in \fIN\fR\fB+\fR form, \fItrashtime\fR value is increased to \fIN\fR for objects with lower \fItrashtime\fR value and unchanged for the rest\&. Similarly, if new value is specified as \fIN\fR\fB\-\fR, \fItrashtime\fR value is decreased to \fIN\fR for objects with higher \fItrashtime\fR value and unchanged for the rest\&. These tools can be used on any file, directory or deleted (\fItrash\fR) file\&. .RE .PP \fB\-n\fR, \fB\-h\fR, \fB\-H\fR .RS 4 These options are described in lizardfs(1)\&. .RE .SH "NOTE" .sp \fBrgettrashtime\fR and \fBrsettrashtime\fR are deprecated aliases for \fBgettrashtime \-r\fR and \fBsettrashtime \-r\fR respectively\&. .SH "COPYRIGHT" .sp Copyright 2008\-2009 Gemius SA, 2013\-2016 Skytechnology sp\&. z o\&.o\&. .sp LizardFS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3\&. .sp LizardFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\&. See the GNU General Public License for more details\&. .sp You should have received a copy of the GNU General Public License along with LizardFS\&. If not, see http://www\&.gnu\&.org/licenses/\&. .SH "SEE ALSO" .sp lizardfs(1)