Created
November 9, 2022 00:49
-
-
Save zarza/5f64cdbc832651fddfcf5f2f97b379de to your computer and use it in GitHub Desktop.
Multi-thread rsync
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remember to setup your ssh-copy-id first | |
# https://www.ssh.com/academy/ssh/copy-id | |
# And then | |
ls --indicator-style=none /home/admin/web/ | xargs -n1 -P4 -I% rsync -avzhP % [email protected]:/root/OLD_CLOUDSTORAGE/ | |
# Just replace your SERVER_IP and setup the destination folder. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment