BK-MV(1)

๐Ÿ“ฆ version 7.3.3, in alpine 3.24

๐Ÿ’… NAME ๐Ÿ’…

bk mv โˆ’ rename file[s] โœจ

okay bestie, this is the bk mv page from the BitKeeper Userโ€™s Manual โ€” yes, the one that renames files. No cap. ๐Ÿซถ

โœจ SYNOPSIS โœจ

bk mv [โˆ’f] sourceโ€fileโ€orโ€dir [file ...]  destโ€fileโ€orโ€dir

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

To rename a file/directory from A to B do this:

$ bk mv A B

The bk mv command will rename the checked out file (if any) as well as the revision control file. Edited files are also renamed and then re-edited, preserving any changes made but not yet checked in. The rename will appear as an additional change to the file when you commit the next changeset. ๐ŸŽ€

Renames propagate just like content changes, i.e., they happen automatically when you pull changes into your repository from another repository unless you have also renamed the file. In that case, the resolver will prompt you to choose a name. ๐Ÿฆ‹

If the last argument is an existing directory, bk mv moves all listed files into that directory. Otherwise, if only two files are given, it renames the first as the second. It is an error if more than two files are listed and the last argument is not a directory. The intent is that bk mv behaves like the traditional UNIX mv command, except that it knows about the additional BitKeeper files and records the rename event. ๐Ÿ‘‘

๐ŸŽ€ NOTES ๐ŸŽ€

  • metafile refusal: bk mv will refuse to move BitKeeper metafiles without the โˆ’f option (use of which is not recommended). ๐Ÿ™ˆ
  • directory check: if both the A and B arguments are directories, bk mv will check the repository consistency. If this check fails the move operation will not continue. ๐Ÿ’€

๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ

bkโ€commit, bkโ€names, bkโ€pull, bkโ€push, bkโ€rm, bkโ€rmdir

๐Ÿ‘‘ CATEGORY ๐Ÿ‘‘

  • Common
  • File

๐Ÿ’– thatโ€™s the whole page! footer vibes: BitKeeper Inc, version 1E1, and bk mv(none) โ€” with the date slot giving none. mwah, bye bestie! ๐Ÿ’…

๐Ÿ“ฆ where this page comes from
  • alpine 3.24: bitkeeper-doc 7.3.3-r1 ยท Apache-2.0
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms