How to copy recursively files

To copy one branch of a directory into another:

cp -R directory1/* directory2/

remember to use the star and the final backslashes

cp -a * /directory1/ /directory2/

Or you can do like this:

cp -dpR /directory1/* /directory2/

To create recursively symlinks from one directory to another:

cp -sdpR /dir1/* /dir2/

To copy the contents of one directory with all its subdirectories into one different directory:

cp `find /directory1 -iname ""` /directory2

To copy only the files recently modified in the destination directory (backup):

cp -uR /dir1/ /dir2/