sindresorhus / cpy

Copy files
MIT License
425 stars 63 forks source link

How can I copy files into external directories like Desktop ? #76

Open ShivamJoker opened 4 years ago

ShivamJoker commented 4 years ago

I tried this code

await cpy(["*.jpg"], "../output/dist", { rename: `${i}.jpg`, parents: true });

but it didn't work

Can you please help ?