Gem 一覧へ戻る
sindresorhus/move-file-cli(新しいタブで開きます)
主要言語: JavaScript
Move a file on the command-line
- star 数
- 72
- watcher 数
- 1
- fork 数
- 5
- issue 数
- 0
- 最終更新
- 2023/05/14
主要言語: JavaScript
Move a file on the command-line
Move a file on the command-line
This is a simpler and cross-platform alternative to mv for build scripts, etc.
Note: It only handles a single file at the time. It does not handle directories.
npm install --global move-file-cli
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