ln

    ln command for MoonX.

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

    #ln

    Create symbolic links through MoonX.

    #Usage

    moonx cli/ln -s target.txt link.txt moonx cli/ln -sr target.txt relative-link.txt

    Use -s to create a symbolic link. Relative targets, explicit target directories, replacement and backups are supported on POSIX hosts.

    #Common options

    OptionDescription
    -s, --symbolicCreate a symbolic link; required.
    -f, --forceReplace an existing destination without prompting.
    -i, --interactiveAsk before replacing an existing destination.
    -r, --relativeUse a relative symbolic-link target.
    -n, --no-dereferenceDo not follow a destination directory symlink.
    -t VALUE, --target-directory VALUECreate links in DIR.
    --backup=CONTROLSelect the documented backup naming policy.
    --helpShow help.
    --versionShow the version.

    Use --help for the complete option list.

    #Notes

    • Hard links and Windows link creation are unsupported. Declining a replacement, including EOF, returns status 1.
    • If creation and backup restoration both fail, the diagnostic names both paths; inspect them before retrying.

    See the compatibility guide for the supported profile.

    Source Files