linux:parallel_rsync
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:parallel_rsync [2018/04/17 08:51] – ↷ Page moved from lamp:parallel_rsync to linux:parallel_rsync dodger | linux:parallel_rsync [2022/02/11 11:36] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
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 ==== | ||
Line 102: | Line 104: | ||
==== Code ==== | ==== Code ==== | ||
- | <code bash> | + | <file bash launch_rsync.sh> |
#!/bin/bash | #!/bin/bash | ||
# launch_rsync.sh | # launch_rsync.sh | ||
Line 129: | Line 131: | ||
echo "$RES : ${TARGET}" | echo "$RES : ${TARGET}" | ||
fi | fi | ||
- | </code> | + | </file> |
==== Variables ==== | ==== Variables ==== | ||
^ Variable ^ Description ^ | ^ Variable ^ Description ^ |
linux/parallel_rsync.1523955075.txt.gz · Last modified: 2018/04/17 08:51 by dodger