Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Copy from a directory to another directory #79

Open
rbatllet opened this issue Jan 17, 2020 · 3 comments
Open

Feature request: Copy from a directory to another directory #79

rbatllet opened this issue Jan 17, 2020 · 3 comments

Comments

@rbatllet
Copy link

I need to be able to copy a directory and all its directories, respecting the local paths to another directory.

This is impossible to do it with this module currently.

@calvinmetcalf
Copy link
Owner

  1. what exactly are you doing? i.e. what is a basic directory setup that causes this to happen?
  2. what do you expect should happen?
  3. what actually happens?

@SupertigerDev
Copy link

SupertigerDev commented Feb 29, 2020

copyfiles src/public/* dist/
Should copy the public folder into dist but it copies the src folder instead.

EDIT: copyfiles -u 1 src/public/* dist this works :D

@kalbert312
Copy link

kalbert312 commented Mar 24, 2020

I'm having this issue as well with copyfiles -u 2 'out/tsc/**' 'out/webpack/**' dist but it says can't go up that far. I don't want out, tsc, or webpack folder in the output, only the recursive contents. I can't flatten either.

EDIT: Looks like solution here works: #61 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants