linux cp with directory structure code example Example: cp directory linux cp -R path_to_source path_to_destination/