move-cli

The CLI implementation for andrewrk/node-mv. Like `fs.rename`, but works across devices, and works with directories. Think of the unix utility `mv`.

MIT 4 个版本
安装
npm install move-cli
yarn add move-cli
pnpm add move-cli
bun add move-cli
README

move-cli

Move files and directories

Useful for use in build scripts and automated things.

Install

$ npm i move-cli

__

Usage

$ move-cli --help

  Usage
  	  $ move-cli source<path|glob> dest<path|glob>
  	  
  	Options
  	  -md, --mkdirp    first create all necessary directories
  	  -nc, --noclobber don't overwrite existing files
  	  -l, --limit      how many concurrent file requests can be made, default 16
  	  
  	Example
  	  $ move-cli source/file dest/file
  • mv - API for this module
版本列表
2.0.0 2021-09-30
1.2.1 2019-02-07
1.2.0 2018-07-25
1.1.2 2018-03-21