Pulling files from remote server with rsync
To transfer just the files:
1ssh user@remote -- find /path/to/parent/directory -type f | parallel -v -j16 rsync -Havessh -aAXP user@remote:{} /local/pathTo transfer the entire directory:
1echo "/path/to/parent/directory" | parallel -v -j16 rsync -Havessh -aAXP user@remote:{} /local/pathPushing files to remote server with rsync
To transfer just the files:
1find /path/to/local/directory -type f | parallel -v -j16 -X rsync -aAXP /path/to/local/directory/{} user@remote:/path/to/dest/dirRunning the same command on multiple remote hosts
1parallel --tag --nonall -S remote0,remote1,remote2 uptime