Interface CpOptions

interface CpOptions {
    archive?: boolean;
    copyToTarget?: boolean;
    delDest?: boolean;
    delFirst?: boolean;
    followAllSymlinks?: boolean;
    followListedSymlinks?: boolean;
    hardLink?: boolean;
    noClobber?: boolean;
    noDereference?: boolean;
    noFollowSymlinks?: boolean;
    preserve?: PreserveOptions;
    preserveTimestamps?: boolean;
    recursive?: boolean;
    symlink?: boolean;
    update?: boolean;
}

Hierarchy (view full)

Properties

archive?: boolean

Adds -a flag. Same as -dpr, if specified, noDereference, preserve and recursive attributes are ignored

copyToTarget?: boolean

Adds -t flag.

delDest?: boolean

Adds -f flag.

delFirst?: boolean

Adds -F flag.

followAllSymlinks?: boolean

Adds -L flag.

followListedSymlinks?: boolean

Adds -H flag.

hardLink?: boolean

Adds -l flag.

noClobber?: boolean

Adds -n flag. No override.

noDereference?: boolean

Adds -d flag.

noFollowSymlinks?: boolean

Adds -P flag.

preserve?: PreserveOptions

Adds --preserve=[ATTRIBUTES].

preserveTimestamps?: boolean

Adds -p flag.

recursive?: boolean

Adds -r flag.

symlink?: boolean

Adds -s flag. Creates symlink.

update?: boolean

Adds -u flag.