ln

    ln command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.2.4
    License
    Apache-2.0
    Last updated
    9 days ago
    Downloads
    102

    #ln

    Create symbolic links for MoonX.

    moonx cli/ln@0.2.4 -s [-f|-i] [-r] [-n] [-T] [-b|--backup[=CONTROL]] [-S SUFFIX] TARGET... LINK_NAME

    #Supported scope

    Create POSIX symbolic links with explicit destinations or target directories, replacement, relative targets and backups.

    #Options

    OptionDescription
    -s, --symbolicCreate a symbolic link; required.
    -f, --force / -i, --interactiveReplace existing targets / ask first.
    -r, --relativeUse a relative symbolic-link target.
    -t, --target-directory=DIRCreate links in DIR.
    -T, --no-target-directoryTreat destination as the complete link path.
    -n, --no-dereferenceDo not follow a destination directory symlink.
    -b, --backup[=CONTROL] / -S, --suffix=SUFFIXBack up replaced targets / choose backup suffix.
    -v, --verboseShow created links.
    --help / --versionShow help / package version.

    #Limitations

    • Hard links and Windows link creation are unsupported.
    • Declining an overwrite, including EOF, returns 1.

    #Examples

    moonx cli/ln@0.2.4 -s target.txt link.txt moonx cli/ln@0.2.4 -sr target.txt link.txt

    Source Files