Skip to main content

luna mv

Move or rename an owned managed file while retaining lock ownership.

Syntax​

luna mv <source> <target> [--save-remap]

Arguments​

ArgumentBehavior
<source>Current project-relative managed target.
<target>New project-relative managed target.

Options​

OptionBehavior
--save-remapPersist the move as a project remapping.
--workspace, -wSelect another project.

The source must remain within the selected workspace and must be owned by a resolved pack or Luna Link. The command performs one state and filesystem change; locally modified or conflicting targets stop the move.

Example​

luna mv docs/guide.md docs/architecture/guide.md --save-remap