shelljs / shx

Portable Shell Commands for Node
MIT License
1.72k stars 44 forks source link

Copy a folder #128

Closed 174n closed 6 years ago

174n commented 6 years ago

How to copy a folder with this? I tryed shx cp ./dist ../../site/public and it doesn't work.

nfischer commented 6 years ago

Try cp -r?

Please look at the shelljs docs (for this and other methods). If that doesn't answer your question, I'm happy to provide further clarification.