/cp-cli

💻 A "cp" CLI util for Node.js

Primary LanguageTypeScriptMIT LicenseMIT

cp-cli

Build Status code style: prettier

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/