https://github.com/screendriver/cp-cli
💻 A "cp" CLI util for Node.js
https://github.com/screendriver/cp-cli
cli copy nodejs unix
Last synced: 29 days ago
JSON representation
💻 A "cp" CLI util for Node.js
- Host: GitHub
- URL: https://github.com/screendriver/cp-cli
- Owner: screendriver
- License: mit
- Archived: true
- Created: 2016-05-03T10:57:21.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-29T07:22:37.000Z (about 6 years ago)
- Last Synced: 2025-04-01T22:18:52.055Z (about 1 month ago)
- Topics: cli, copy, nodejs, unix
- Language: TypeScript
- Homepage:
- Size: 238 KB
- Stars: 24
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# cp-cli
[](https://dev.azure.com/screendriver/cp-cli/_build/latest?definitionId=8&branchName=master)
[](https://github.com/prettier/prettier)## This GitHub project has been archived in favour of
- [cpy-cli](https://github.com/sindresorhus/cpy-cli)
- [ncp](https://github.com/AvianFlu/ncp)
- [cpx](https://github.com/mysticatea/cpx)---
The [UNIX command]() `cp` for Node.js
which is useful for cross platform support.Just install it with
```sh
$ npm install -g cp-cli
```After that you can use `cp-cli` from your command prompt
```sh
$ cp-cli
Usage: cp-cli [-d] source targetOptions:
-d, --dereference Dereference symlinks [boolean]
```You can copy files directly
```sh
$ cp-cli foo.txt bar.txt
```or copy a file into an existing directory
```sh
$ cp-cli foo.text dest/
```