Skip to content

Copy files and directories without node_modules and other specified files. 忽略node_modules 快速复制项目。

Notifications You must be signed in to change notification settings

jinzhi0123/npcopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npcopy


Copy files and directories without node_modules and other specified files. Copy your project to another directory at high speed!

installation

Simply use the following command:

$ npx npcopy

Or if for some reason you want to install it:

$ npm i -g npcopy

usage

By default, npcopy will enter the interactive mode, where you can input the source and destination paths and select the ignore files you want to ignore.

Or you can use the command line mode, where you can specify the source and destination paths and ignore files.

arguments

arguments description
source source path
output dest path

options

options description
-V, --version output the version number
-i, --ignores <ignores...> ignore files you want
-l, --list only output file list
-a, --interactive interactive mode (default) path
-h, --help display help for command

examples

$ npcopy                                         - interactive mode
$ npcopy ./source ./output                       - copy the former to the latter without node_modules
$ npcopy ./source ./output -i node_modules dist  - copy the former to the latter without node_modules and dist
$ npcopy /opt/source -i node_modules -l          - only list files without node_modules

About

Copy files and directories without node_modules and other specified files. 忽略node_modules 快速复制项目。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published