move-file-cli
v3.0.0 cli-app cli move file mv fs stream file-system ncp and 8 more...
move-file-cli
Move a file on the command-line
This is a simpler and cross-platform alternative to mv
for build scripts, etc.
Install
$ npm install --global move-file-cli
Usage
$ move-file --help
Usage
$ move-file <source-path> <destination-path>
Options
--no-overwrite Don't overwrite an existing destination file
Example
$ move-file source/unicorn.png destination/unicorn.png
Related
npm i move-file-cli
Metadata
- MIT
- ^12.20.0 || ^14.13.1 || >=16.0.0
- Sindre Sorhus
- released 8/12/2021