SAUNAFS-GETTRASHTIM(1)

๐Ÿ“ฆ version 5.1.2, in ubuntu resolute

๐Ÿ’… SAUNAFS-GETTRASHTIM โ€” get or set trash time

okay bestie, welcome to the saunafs-gettrashtime page โœจ this is the manual for four little commands that all hang out together: saunafs-gettrashtime, saunafs-settrashtime, saunafs-rgettrashtime, and saunafs-rsettrashtime. yes the manual name is a whole mouthful, we know. ๐Ÿ’–


โœจ SYNOPSIS โœจ

saunafs gettrashtime [-r] [-n|-h|-H] OBJECT...

saunafs settrashtime [-r] [-n|-h|-H] SECONDS[+|-] OBJECT...

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

so gettrashtime and settrashtime are obsessed with one single thing: an object's trashtime value. and what is trashtime, you ask? it's literally the number of seconds a file gets preserved in the special trash directory before it's finally removed from the filesystem. that's it, that's the whole vibe. ๐Ÿ—‘๏ธโœจ

trashtime has to be a non-negative integer value, no cap.

and gettrashtime? it just prints the current trashtime value of the object(s) you hand it. simple, iconic, does what it says. ๐Ÿ’…


๐ŸŽ€ OPTIONS ๐ŸŽ€

  • -r โ€” this turns on recursive mode, which works like you'd expect for every file you give it, but for every directory you give it, it additionally prints the current trashtime value of every object contained inside (files and directories, the whole little family ๐ŸŒธ).
  • N[+|-] โ€” okay this one is lowkey the main character. if you write the new value in the N+ form, the trashtime value gets increased to N for objects whose trashtime is lower, and left unchanged for the rest. similarly, if you write the new value as N-, the trashtime value gets decreased to N for objects with a higher trashtime value and left unchanged for the rest. and yes bestie, these tools can be used on any file, directory or deleted (trash) file. slay. ๐Ÿซถ
  • -n, -h, -H โ€” these options are described in saunafs(1). go check that one out, iykyk ๐Ÿ“–
  • -l โ€” this option disables the timeout set for setgoal. (the default timeout is 30 seconds, just so you know โฑ๏ธ)
heads up: this behavior will be the default and the option removed starting from 5.0.0. if you want timeouts, use the timeout command instead. not me warning you about the future ๐Ÿ”ฎ

๐Ÿ’€ NOTE ๐Ÿ’€

rgettrashtime and -rsettrashtime are deprecated aliases for rgettrashtime -r and rsettrashtime -r respectively. they will be removed in 5.0.0. so likeโ€ฆ enjoy them while they last, bestie ๐Ÿ˜ญ


๐Ÿ™ˆ REPORTING BUGS ๐Ÿ™ˆ

found a bug? report it to the Github repository https://github.com/leil/saunafs as an issue. we appreciate you fr fr ๐Ÿซถ


Copyright 2008-2009 Gemius SA

Copyright 2013-2019 Skytechnology sp. z o.o.

Copyright 2023-2024 Leil Storage Oรœ

SaunaFS 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.

SaunaFS 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 SaunaFS. If not, see http://www.gnu.org/licenses/.


๐ŸŒˆ SEE ALSO ๐ŸŒˆ


and that's the whole page bestie ๐Ÿ’– this one came from the SAUNAFS-GETTRASHTIM(1) manual, dated 02/17/2026. go forth and manage your trashtimes, you absolute legend โœจ๐Ÿ’…๐ŸŽ€

๐Ÿ“ฆ where this page comes from