![]() Make sure to include the “-r” option for “recursive” and the “-a” option for “all” (otherwise non-regular files will be skipped) $ rsync -ar if the “rsync” utility is not installed on your server, make sure to install it using sudo privileges. In order to copy directories to remote locations, you have to use the rsync command, specify the source folder as well as the remote destination to be copied to. Needless to say that your backup server is locally remotely : you have to copy your directory over the network. In some cases, you may want to copy a directory in order to keep a backup on a backup server. ![]() ![]() Congratulations, you successfully copied multiple directories using the cp command on Linux! Copy Directories To Remote Hosts
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |