I know that the syntax of the copy command is
but I wonder - is it possible to copy several directories with it? For instance, if I have two source directories, like etc/ and usr/, and I wanna copy both of them to root, what will happen if I type this:
Will that copy both of them to root or will it copy etc/ into usr/ instead of into root?
Code:
cp [OPTION]… [-T] SOURCE TARGET
but I wonder - is it possible to copy several directories with it? For instance, if I have two source directories, like etc/ and usr/, and I wanna copy both of them to root, what will happen if I type this:
Code:
sudo cp -rv etc/ usr/ /
Will that copy both of them to root or will it copy etc/ into usr/ instead of into root?