PIBOOTCTL-RENAME(1)

πŸ’– PIBOOTCTL-RENAME(1) πŸ’–

okay so this is the manual page for pibootctl-rename, straight out of the pibootctl era. bestie, it's a whole vibe and it's genuinely useful, let's go πŸ¦‹


✨ NAME ✨

pibootctl-rename β€” it's a pibootctl manual page, babes πŸ’…


🌸 SYNOPSIS 🌸

pibootctl rename [-h] [-f] name to

πŸŽ€ DESCRIPTION πŸŽ€

Rename a stored boot configuration. that's it, that's the whole thing. iconic, honestly πŸ‘‘


πŸ’– OPTIONS πŸ’–

  • name β€” the name of the boot configuration you wanna rename. the current one. the before. the original main character 🫢
  • to β€” the new name of the boot configuration. the glow-up name. the after ✨
  • -h, --help β€” shows a brief help page for the command. not me using this every single time ngl πŸ™ˆ
  • -f, --force β€” overwrite the target configuration, if it exists. like, if you're being messy on purpose πŸ’€

🌈 USAGE 🌈

okay so the rename command can be used to change the name of a stored boot configuration. literally just:

$ pibootctl ls
+---------+--------+---------------------+
| Name    | Active | Timestamp           |
|---------+--------+---------------------|
| 720p    | x      | 2020-03-10 11:33:24 |
| default |        | 2020-03-10 11:32:12 |
| dpi     |        | 2020-02-01 15:46:48 |
+---------+--------+---------------------+
$ sudo pibootctl rename default foo
$ pibootctl ls
+------+--------+---------------------+
| Name | Active | Timestamp           |
|------+--------+---------------------|
| 720p | x      | 2020-03-10 11:33:24 |
| dpi  |        | 2020-02-01 15:46:48 |
| foo  |        | 2020-03-10 11:32:12 |
+------+--------+---------------------+

see how default became foo and kept its little timestamp? yeah. slay. the way that 720p stayed active the whole time, we love a stable queen πŸ‘‘

As with save, any characters permitted in a filename are permitted in the new destination name. so like, go off, but y'know, filename rules apply fr fr 🌸


If you wish to rename a configuration such that it overwrites an existing configuration you will need to use the --force option. no force, no overwrite, that's the rule bestie:

$ sudo pibootctl load default
$ sudo pibootctl save foo
$ pibootctl ls
+---------+--------+---------------------+
| Name    | Active | Timestamp           |
|---------+--------+---------------------|
| 720p    |        | 2020-03-10 11:33:24 |
| default | x      | 2020-03-10 11:32:12 |
| dpi     |        | 2020-02-01 15:46:48 |
| foo     | x      | 2020-03-10 11:32:12 |
+---------+--------+---------------------+
$ sudo pibootctl mv foo default
[Errno 17] File exists: 'default.zip'
$ sudo pibootctl mv -f foo default
not the [Errno 17] File exists: 'default.zip' 😭 that's the machine saying no <3 because default was already there and you didn't say -f. add the -f, it goes through. periodt πŸ’…

🌟 AUTHOR 🌟

Dave Jones πŸ’œ


2019-2020 Dave Jones


and that's the whole page bestie!! this one shipped as part of pibootctl 0.5.2 and got dated Sep 14, 2020 β€” so if you're reading this, it's giving vintage but make it cute. mwah, go rename something responsibly πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from