Synchronize a local directory with a remote directory via ssh and compression
rsync -az -e ssh --delete ip_addr:/home/public /home/local
Byte sized tech know-how.
Synchronize a local directory with a remote directory via ssh and compression
rsync -az -e ssh --delete ip_addr:/home/public /home/local
Copyright © 2024 Txt
You should add the slashes to directories’ name:
rsync -az -e ssh –delete ip_addr:/home/public/ /home/local/