https://github.com/thundernet8/hierarchical-copy
Copy files hierarchically with wildcards supports
https://github.com/thundernet8/hierarchical-copy
copyfiles glob
Last synced: 5 days ago
JSON representation
Copy files hierarchically with wildcards supports
- Host: GitHub
- URL: https://github.com/thundernet8/hierarchical-copy
- Owner: thundernet8
- License: mit
- Created: 2017-07-15T06:11:39.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-15T10:15:33.000Z (almost 9 years ago)
- Last Synced: 2025-02-14T02:06:38.799Z (over 1 year ago)
- Topics: copyfiles, glob
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## hierarchical-copy
Copy files hierarchically with wildcards supports.
## Install
npm
```
npm install hierarchical-copy -g
```
yarn
```
yarn global add hierarchical-copy
```
## Usage
```
rcp 'src/js/**/*.js' ./dist
```
Notes: you should wrap a glob with quote, otherwise node will auto glob in unix envs and result in unexpect actions.
with verbose option will log file paths
```
rcp -v ./examples/*.txt .dist
```