Created
April 28, 2020 10:39
-
-
Save msis/de1405934406a3c77c32f9f5787e35ce to your computer and use it in GitHub Desktop.
lists recursively all files in SOURCE and parallel rsync them to DESTINATION
This file contains 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
find $SOURCE -type f | xargs -n1 -P4 -I% rsync -ahPv % $DESTINATION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment