0.0.0 • Published 11 years ago
coreutils-cp v0.0.0
cp
copies a file or directory
Requirements
- node >=0.11.12 with
--harmonyflag - create
nodehas an alias tonode --harmony
$ cat ~/bin/nodeh
#!/bin/bash
node --harmony "$@"Installation
$ npm install coreutils-cpUsage
var cp = require('coreutils-cp');
cp('./src/file1.txt', './dst/file2.txt');
cp('./src/file1.txt', './dst/');License
MIT
0.0.0
11 years ago