mv

    mv command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.2.9
    License
    Apache-2.0
    Last updated
    8 hours ago
    Downloads
    201

    #mv

    Move or rename files and directories through MoonX.

    #Usage

    moonx cli/mv old.txt new.txt moonx cli/mv -n report.txt archive/ moonx cli/mv --backup=simple report.txt archive/

    Move a source to a destination, or multiple sources into a directory. Select overwrite, update and backup behavior explicitly.

    #Common options

    OptionDescription
    -f, --forceReplace without asking.
    -n, --no-clobberSkip existing targets successfully.
    -i, --interactiveAsk before replacing; refusal or EOF returns 1.
    --update=MODESelect the documented destination update policy.
    --backup=CONTROLSelect the documented backup naming policy.
    -T, --no-target-directoryTreat target as a complete path; one source only.
    -v, --verboseShow moves.
    --helpShow help.
    --versionShow the version.

    Use --help for the complete option list.

    #Notes

    • Cross-filesystem moves are unsupported. Windows rejects moving symlinks/junctions and backing up destination links.
    • -i and -u reject equal source/target timestamps. Same-file moves fail except for explicit skip modes.
    • If both a move and backup restoration fail, inspect the destination and backup paths named in the diagnostic before retrying.

    See the compatibility guide for the supported profile.

    Source Files