S6-RENAME(1)
π S6-RENAME(1) β the girlies' guide to atomic renaming π
okay so this is the man page for s6-rename, from the s6-portable-utils fam (General Commands Manual, if you're keeping track π). she's a tiny little icon and she does exactly one thing, but she does it flawlessly.
β¨ NAME β¨
s6-rename β atomically rename a file π
like, the whole rename happens as one indivisible glow-up. no in-between state, no half-renamed mess. periodt.
πΈ SYNOPSIS πΈ
s6-rename old new
π¦ DESCRIPTION π¦
s6-rename atomically renames old to new.
that's it. that's the whole vibe. bestie it is not complicated and honestly? we love that for her. the "atomic" part is the main character energy here β the rename is all-or-nothing, no cursed partial states, iykyk. π₯
π EXIT STATUS π
she's got opinions and she will tell you about them via exit codes. here's the whole lineup, no gatekeeping:
111β temporary error. like, it didn't work right now, but it's not necessarily forever π«Ά100β permanent error, such as a misuse. you used her wrong, bestie, and she's not gonna pretend otherwise π127β unable to execute program - not found. literally couldn't find the thing π126β unable to execute program - other reason. found it, but executing it was a no π
π SEE ALSO π
the whole friend group, in the order the original lists them (no reshuffling, i would never):
s6-basename(1)s6-cat(1)s6-chmod(1)s6-chown(1)s6-clock(1)s6-cut(1)s6-dirname(1)s6-dumpenv(1)s6-echo(1)s6-env(1)s6-expr(1)s6-false(1)s6-format-filter(1)s6-grep(1)s6-head(1)s6-hiercopy(1)s6-linkname(1)s6-ln(1)s6-ls(1)s6-maximumtime(1)s6-mkdir(1)s6-mkfifo(1)s6-nice(1)s6-nuke(1)s6-pause(1)s6-printenv(1)s6-quote(1)s6-quote-filter(1)s6-rmrf(1)s6-seq(1)s6-sleep(1)s6-sort(1)s6-sync(1)s6-tai64ndiff(1)s6-tail(1)s6-touch(1)s6-true(1)s6-uniquename(1)s6-unquote(1)s6-unquote-filter(1)s6-update-symlinks(1)seekablepipe(1)
π‘ also, for the record: this man page is ported from the authoritative documentation at: https://skarnet.org/software/s6-portable-utils/s6-rename.html β that's the source of truth, go say hi π§
π AUTHORS π
- Laurent Bercot
- Alexis <flexibeast@gmail.com> (man page port)
and that's the whole page, bestie π credit where it's due: this is Debian's, dated April 17, 2022 β so like, respectfully, go touch some grass after this and remember: atomic means atomic πβ¨
π¦ where this page comes from
- nixpkgs unstable: s6-portable-utils 2.3.1.2
- nixpkgs unstable: s6-portable-utils-man-pages 2.3.1.1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms