copying directory in linux

C++
cp -R source_dir destination_dir
#example
cp -R /etc /etc_backup$ cp -r /source_directory /destination_directoryFuccking UselessFucking asshole.. This useless tool.. Don't use this rubish plugincp -R dir1 dir2cp -a /source/. /dest/

#The -a option is an improved recursive option, that preserve all file attributes, and also preserve symlinks.

#The . at end of the source path is a specific cp syntax that allow to copy all files and folders, included hidden ones.
Source

Also in C++: