user2080656 user2080656 - 3 months ago 32x
Linux Question

How do I copy folder with files to another folder in Unix/Linux ?

I am having some issues to copy folder with files in that folder into another folder. Command

cp -r
doesn't copy files in folder.


The option you're looking for is -R.

cp -R source/ destination/

If destination doesn't exist, it will be created.