← 全部工具

move-cli

热度 65 更新于 开发与构建

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

npmauto-collected

安装

npm
npm install -g move-cli

通过 npm 安装。

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

Related

  • mv - API for this module