mysticatea / cpx

A cli tool to watch and copy file globs.
MIT License
524 stars 36 forks source link

How to rename file? #33

Open catouse opened 7 years ago

catouse commented 7 years ago

I want to copy a icon file to a new place and rename it to favicon.ico.

cpx.copy('./resources/icon.ico', `${destRoot}/favicon.ico`)
rendomnet commented 5 years ago

Any news?

jhildenbiddle commented 5 years ago

I'd also like to see the ability to rename files added.

entozoon commented 4 years ago

Yeah, it's annoying that you can't do this. Same with copyfiles However, cpy-cli does have this feature