Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

sindresorhus/move-file-cli

Repository files navigation

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

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

About

Move a file on the command-line

Resources

Readme

License

MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Stars

Watchers

Forks

Packages

Contributors