Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

move-file-cli

sindresorhus115.2kMIT3.0.0

Move a file on the command-line

cli-app, cli, move, file, mv, fs, stream, file-system, ncp, fast, quick, data, content, contents, devices, partitions

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.

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