Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sindresorhus/move-file-cli
Move a file on the command-line
https://github.com/sindresorhus/move-file-cli
Last synced: about 1 month ago
JSON representation
Move a file on the command-line
- Host: GitHub
- URL: https://github.com/sindresorhus/move-file-cli
- Owner: sindresorhus
- License: mit
- Created: 2019-08-30T04:02:56.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-05-14T10:35:55.000Z (over 1 year ago)
- Last Synced: 2024-04-13T17:55:02.012Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 70
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# move-file-cli
> 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.
## Install
```sh
npm install --global move-file-cli
```## Usage
```
move-file --helpUsage
$ move-fileOptions
--no-overwrite Don't overwrite an existing destination fileExample
$ move-file source/unicorn.png destination/unicorn.png
```## Related
- [move-file](https://github.com/sindresorhus/move-file) - API for this module
- [cpy-cli](https://github.com/sindresorhus/cpy-cli) - Copy files on the command-line