SAUNAFS-GETTRASHTIM(1)
๐ 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 theN+form, the trashtime value gets increased toNfor objects whose trashtime is lower, and left unchanged for the rest. similarly, if you write the new value asN-, the trashtime value gets decreased toNfor 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 insaunafs(1). go check that one out, iykyk ๐-lโ this option disables the timeout set forsetgoal. (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 ๐
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
- ubuntu resolute: saunafs-client 5.1.2-1ubuntu1 ยท GPL-3.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms