linux:parallel_rsync
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
lamp:parallel_rsync [2018/04/17 08:48] – ↷ Page moved from parallel_rsync to lamp:parallel_rsync dodger | linux:parallel_rsync [2019/07/29 12:11] – dodger | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== [SCRIPT] psync (parallel rsync) ====== | ||
+ | |||
====== Description ====== | ====== Description ====== | ||
This set of scripts will parallelize the transfer of a huge directory tree keeping in mind a maximum number of simultaneous transfers. | This set of scripts will parallelize the transfer of a huge directory tree keeping in mind a maximum number of simultaneous transfers. | ||
Line 29: | Line 31: | ||
==== Code ==== | ==== Code ==== | ||
- | <code bash> | + | <file bash psync.sh> |
#!/bin/bash | #!/bin/bash | ||
[ ! $1 ] && echo " | [ ! $1 ] && echo " | ||
Line 84: | Line 86: | ||
sync_this ${TARGET} | sync_this ${TARGET} | ||
- | </code> | + | </file> |
==== Script Variables ==== | ==== Script Variables ==== |
linux/parallel_rsync.txt · Last modified: 2022/02/11 11:36 by 127.0.0.1