coreutils-cp
v0.0.0
Published
copies a file or directory
Downloads
1
Readme
cp
copies a file or directory
Requirements
- node >=0.11.12 with
--harmony
flag - create
nodeh
as an alias tonode --harmony
$ cat ~/bin/nodeh
#!/bin/bash
node --harmony "$@"
Installation
$ npm install coreutils-cp
Usage
var cp = require('coreutils-cp');
cp('./src/file1.txt', './dst/file2.txt');
cp('./src/file1.txt', './dst/');
License
MIT