LEIL-GETTRASHTIME(1)

πŸ“¦ version 5.12.0, in nixpkgs unstable

πŸ’… 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 current trashtime value 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 in N+ form, the trashtime value is increased to N for objects with a lower trashtime value and left unchanged for the rest. similarly, if the new value is specified as N-, the trashtime value is decreased to N for objects with a higher trashtime value 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 in leil(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 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