Answer the question
In order to leave comments, you need to log in
How to copy directories and files from a remote server to a local computer using Rsync?
Good afternoon.
I'm trying to copy a folder with files from a remote server to a localhost using Rsync. But nothing works.
On the local computer, I enter the following command
rsync -v [email protected]_server_name:/путь до каталога/ /путь до каталога на локальном хосте
skipping directory.
sent 8 bytes received 30 bytes 25.33 bytes/sec
total size is 0 speedup is 0.00
Answer the question
In order to leave comments, you need to log in
Set the -r switch
In general, it works via ssh, check if ssh is running systemctl status sshd, if it is not running then
systemctl enable sshd then systemctl start sshd. And is ssh installed at all?)
First, put an asterisk after the slash in the path to the copied directory. The files were copied, but not all. Those that are hidden, that is, the name of which begins with a dot, could not be copied. But with the -r option, everything is copied.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question