Skip to content

mbx adopt ​

  • Usage: mbx adopt [-r --recursive] [--dry-run] [PATH]…

Move existing target directories under mbx management, contents intact.

mbx moves each directory under the managed target root and leaves a target link in its place. The adopted directory then follows the same collection policy as any other managed target.

Arguments ​

  • [PATH]… — Cargo checkouts to adopt, or directories to search with --recursive.

    Defaults to the current directory.

Flags ​

  • -r --recursive — Search below each path for Cargo checkouts with a target directory.

    The search skips symbolic links and hidden or target directories.

  • --dry-run — Show what would be adopted without moving anything.

  • -h --help — Print help

MIT LicenseCopyright © 2026jdx.dev