I need to copy a directory and its content to a NEW directory.
Using: cp -r dir1/dir2 dir1/dir3
where dir3
is going to be created anew, it just copies the file(s) I have within dir2
... It's like it copies dir2
naming it dir3
.
Is there any way to copy dir2
into dir3
?
I need to do it with a single command.