-
Notifications
You must be signed in to change notification settings - Fork 50
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
Copying all files and directories from one dir to another #61
Comments
try |
It doesn't work. |
try |
It worked! thanks |
Only works on Windows: |
what are the issues you get on the different platforms |
Nothing happens, it doesn't move the files |
so on windows with the quotes and macOS without the quotes it does nothing ? |
That's right. |
Had similar issue. Have to use quotes to make it work on mac, otherwise won't include any folders |
Probably flag |
@Diokuz not sure what you're replying to.. |
Just find a workaround that you can escape the double quote |
@hieuhoangtrung : The workaround isn't working for me on the Mac, at least with an npm script (for the sake of JSON, including, before each double quote, two backslashes to represent the backslash and one backslash to escape the double quote). Doing so causes nothing to be copied. |
It would be great if you could add this to the docs. I was using without quotes for close to 1 year and was using some hacks thinking that it was a bug but then, using quotes solved the issue for me now. To copy all files except *.ts files recursively (with folders) from src to dist folder, I had to do:
Thanks. |
Hello @SirwanAfifi , Is this still valid? |
@EliasTouil Yes it is valid |
Hey, we still have this issue open. Any progress? |
I don't have a Mac to test on, but I have found that I'm not sure what adding the double quotes does. I'm not working with paths that have spaces in them. |
I'm using this command to copy all files from
build
directory to `dist:copyfiles -u 1 build/* dist
It works fine except it doesn't copy directories, How can we make sure it also copies the directories with files inside recursively?
The text was updated successfully, but these errors were encountered: