1.0.1 • Published 4 months ago

nv-cli-linux-cp v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

nv-cli-linux-cp

  • copy files under dir
  • dir is always copied
  • file is filtered by simple filter

install

  • npm install nv-cli-linux-cp -g

usage

    Usage: nv_cli_linux_cp [options] 
    Options:
        -s, --src_dir         from dir:  default ./
        -d, --dst_dir         to dir
        -S, --suffixes         filter by suffixes, default ".c",".cc",".h",".hpp",".js",".ts",".mjs",".json"
        -R, --regexp          filter by regexp
        -h, --help            usage

example

        // only copy .json

        nv_cli_linux_cp -s node_modules -d TEST -S ".json"


            # tree TEST/
            TEST/
            ├── charcodes
            │   ├── lib
            │   ├── package.json
            │   └── src
            ├── content-range
            │   ├── dist
            │   └── package.json
            ├── content-type-parser
            │   ├── lib
            │   └── package.json
            ├── lzw-stream
            │   ├── package.json
            │   └── test
            ....

LICENSE

  • ISC