LIZARDFS-GETTRASHTI(1)

πŸ“¦ version 3.12.0, in fedora 43

πŸ—‘οΈ 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 to N for objects with lower trashtime value, and unchanged for the rest.
    • similarly, if the new value is specified as N-, the trashtime value is decreased to N for objects with higher trashtime value, and unchanged for the rest.

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 in lizardfs(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 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