LIZARDFS-GETTRASHTI(1)
ποΈ LIZARDFS-GETTRASHTI β¨
okay bestie, welcome to the lizardfs-gettrashtime corner of the manual π this is where we talk about trash time β no, not your ex, the actual number of seconds a file hangs out in the special trash directory. the family is: lizardfs-gettrashtime, lizardfs-settrashtime, lizardfs-rgettrashtime, lizardfs-rsettrashtime. one manual, four icons π
πΈ SYNOPSIS πΈ
lizardfs gettrashtime [-r] [-n|-h|-H] OBJECT...
lizardfs rgettrashtime [-n|-h|-H] OBJECT...
lizardfs settrashtime [-r] [-n|-h|-H] SECONDS[+|-] OBJECT...
lizardfs rsettrashtime [-n|-h|-H] SECONDS[+|-] OBJECT...
π DESCRIPTION π
so gettrashtime and settrashtime are the two mains, and they work on an object's trashtime value. what even is that? it's literally the number of seconds the file is preserved in the special trash directory before it's finally removed from the filesystem. that's it, that's the whole vibe. β¨
trashtime must be a non-negative integer value, no cap. and gettrashtime just prints the current trashtime value of whatever object(s) you handed it. that's the tea π΅
β¨ OPTIONS β¨
-rβ turns on recursive mode π it works as usual for every given file, but for every given directory it additionally prints the current trashtime value of all contained objects (files and directories). so you get the whole family tree, not just the root. obsessed.N[+|-]β the flavor of your new value, bestie:- if the new value is specified in
N+form, the trashtime value is increased toNfor objects with lower trashtime value, and unchanged for the rest. - similarly, if the new value is specified as
N-, the trashtime value is decreased toNfor objects with higher trashtime value, and unchanged for the rest.
- if the new value is specified in
these tools can be used on any file, directory or deleted (trash) file. yes, even the ones already in the bin ποΈ periodt.
-n,-h,-Hβ these options are described inlizardfs(1). go read that one, iykyk π
π«Ά NOTE π«Ά
rgettrashtime and rsettrashtime are deprecated aliases for gettrashtime -r and settrashtime -r respectively. they still work but likeβ¦ the glow-up already happened, use the new ones π
π COPYRIGHT π
Copyright 2008-2009 Gemius SA, 2013-2016 Skytechnology sp. z o.o.
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.
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.
You should have received a copy of the GNU General Public License along with LizardFS. If not, see http://www.gnu.org/licenses/.
π SEE ALSO π
that's the whole page bestie, you ate it up fr fr πβ¨π¦ this was the LizardFS manpage LIZARDFS-GETTRASHTI(1), dated 07/24/2025 β love u, go set some trashtimes, slay ππ
π¦ where this page comes from
- fedora 43: lizardfs-client 3.12.0-31.fc43 Β· GPL-3.0-only AND Apache-2.0 AND BSL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms