Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sindresorhus/move-file-cli

Move a file on the command-line
https://github.com/sindresorhus/move-file-cli

Last synced: about 2 months ago
JSON representation

Move a file on the command-line

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 --help

Usage
$ move-file

Options
--no-overwrite Don't overwrite an existing destination file

Example
$ 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