Copy folder from folder
Disane87 opened this issue · 3 comments
Disane87 commented
I actually have the following structure:
I want to copy the config.json
and the folder assets
from folder src
to dist
.
Now I use this command:
copyfiles src/config.json src/assets/** dist
But it always copies it itno dist
like this: dist/src/asssets
for example.
I've tried already parameter --up
but it diesn't work. How can I achieve the following structure after copy?
- dist
-- assets
-- config.json
jmajnek commented
I think you need to run:
copyfiles -u 1 src/assets/** dist
I don't know if it works with both files, but in worst case you could use a second script.
calvinmetcalf commented
that should probably work for both of them
…On Fri, Apr 19, 2019 at 3:54 AM jekelhart ***@***.***> wrote:
I think you need to run:
copyfiles -u 1 src/assets/** dist
I don't know if it works with both files, but in worst case you could use
a second script.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#57 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAITRH6OSVASUGTAASGYGUDPRF3DJANCNFSM4GWVA6TQ>
.
--
-Calvin W. Metcalf
Ajju2211 commented
throw new Error('cant go up that far');
Getting this error
when I run this command
copyfiles -a true -u 1 build/** ./cordova/www