cp-cli

A 'cp' CLI util for Node.js


Keywords
cp, cp -R -L, copy, cli, nodejs, unix
License
MIT
Install
npm install cp-cli@2.0.0

Documentation

cp-cli

Build Status code style: prettier

This GitHub project has been archived in favour of


The UNIX command cp for Node.js which is useful for cross platform support.

Just install it with

$ npm install -g cp-cli

After that you can use cp-cli from your command prompt

$ cp-cli
Usage: cp-cli [-d] source target

Options:
  -d, --dereference  Dereference symlinks  [boolean]

You can copy files directly

$ cp-cli foo.txt bar.txt

or copy a file into an existing directory

$ cp-cli foo.text dest/