I have these data.txt files I want to copy:
src
d01
index.ts
data.txt
d02
index.ts
data.txt
the destination is:
dist
d01
index.js
index.js.map
d02
index.js
index.js.map
So I was expecting that
copyfiles -u 2 src/d*/*.txt dist/d*
# or
# copyfiles -u 2 src/d*/data.txt dist/d*/data.txt
would yield
dist
d01
index.js
index.js.map
data.txt
d02
index.js
index.js.map
data.txt
but, at best, I only get that the second folder (d02) is populated and not both.
dist
d01
index.js
index.js.map
d02
index.js
index.js.map
data.txt
Additionally, I get a "can't go up that far" error.
As you might've suspected this is for a TypeScript project.
I have these
data.txtfiles I want to copy:the destination is:
So I was expecting that
would yield
but, at best, I only get that the second folder (d02) is populated and not both.
Additionally, I get a "can't go up that far" error.
As you might've suspected this is for a TypeScript project.