LEIL-GETTRASHTIME(1)
π LEIL-GETTRASHTIME(1) β bestie edition ποΈβ¨
okay so real talk, we're in the LEIL-GETTRASHTIME(1) part of the manual and it's genuinely so much less scary than it sounds, i promise π«Ά
β¨ NAME β¨
leil-gettrashtime, leil-settrashtime β get or set trash time, that's the whole vibe π
πΈ SYNOPSIS πΈ
leil gettrashtime [-r] [-n|-h|-H] OBJECT...
leil settrashtime [-r] [-n|-h|-H] SECONDS[+|-] OBJECT...
π¦ DESCRIPTION π¦
okay so gettrashtime and settrashtime both operate on an object's trashtime value β and no, that's not a typo, it's literally spelled trashtime in this house π
what it means is the number of seconds the file is preserved in the special trash directory before it's finally removed from the filesystem. so it's like, the grace period, the little layover before deletion, the final rose ceremony if you will πΉ
trashtime must be a non-negative integer value, no cap (like, literally no negative numbers, don't even try it π).
and gettrashtime? it prints the current trashtime value of the given object(s). that's it. that's the whole job. icon behaviour honestly π
π OPTIONS π
-rβ this option enables recursive mode, which works as usual for every given file, but for every given directory it additionally prints the currenttrashtimevalue of all contained objects (files and directories). so it's like, going through the whole group chat instead of just the pinned message π¬β¨N[+|-]β okay this one's a little spicy πΆοΈ if the new value is specified inN+form, thetrashtimevalue is increased toNfor objects with a lowertrashtimevalue and left unchanged for the rest. similarly, if the new value is specified asN-, thetrashtimevalue is decreased toNfor objects with a highertrashtimevalue and left unchanged for the rest. these tools can be used on any file, directory or deleted (trash) file. so yeah, glow-ups and glow-downs, both valid π«Ά-n,-h,-Hβ these options are described inleil(1). not me gatekeeping, go read the main character's page ππ
π REPORTING BUGS π
found a bug? bestie please report it to the GitHub repository https://github.com/leil-io/leilfs as an issue π we literally want to know, fr fr π
π₯ COPYRIGHT π₯
Copyright 2008-2009 Gemius SA
Copyright 2013-2019 Skytechnology sp. z o.o.
Copyright 2023-2024 Leil Storage OΓ
LeilFS 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.
LeilFS 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 LeilFS. If not, see http://www.gnu.org/licenses/. π§π
π SEE ALSO π
leil(1) β the mothership, the main event, the blueprint π«
okay that's the whole page, you ate that, no crumbs left π and hey, this lil manual moment was brought to you by LEIL-GETTRASHTIME(1) and dated 1980-01-01 β yeah, she's been around a while and she still slays π
π
π¦ where this page comes from
- nixpkgs unstable: saunafs 5.12.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms