Permalink
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (37 sloc) 1.46 KB

cp

Copy one or more files to another location

Usage

$ mod cp <src> [options]

Options

dest

    Describe: Destination directory or file


flatten

    Describe: Remove all path parts from generated dest paths


recursive

    Default: true

    Describe: Copy directories recursively


verbose

    Default: true

    Describe: Shows file/directory names after they are copied


force

    Default: true

    Describe: Force overwriting the existing files


update

    Default: false

    Describe: Copy only when the SOURCE file is newer than the destination file or when the destination file is missing


backup

    Default: true

    Describe: Make a backup of each existing destination file


parents

    Default: false

    Describe: Full path to be copied to the destination directory