diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-17 19:24:48 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-17 19:24:48 -0400 |
commit | 827e305df0f565d7da844684290323a75bf081a6 (patch) | |
tree | 9753469d58a11b434d8da109c00a23c0e721a52d /migrate-repo | |
parent | d42f5c6ab02a861ef548ae12fe403f61e2b02e4f (diff) | |
parent | 1d5db10302f0a0517c022fae4b6a66862eb7e2cf (diff) |
Merge branch 'lukeshu/archlinux+xbs+merge-parabola' into lukeshu/archlinux+xbs+db-import
Diffstat (limited to 'migrate-repo')
-rwxr-xr-x | migrate-repo | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/migrate-repo b/migrate-repo new file mode 100755 index 0000000..751d5bd --- /dev/null +++ b/migrate-repo @@ -0,0 +1,29 @@ +#!/bin/bash + +source "$(dirname "$(readlink -e "$0")")/config" + +#dryrun="--dry-run" + +# Sync our repos +#for parabola_repo in ${OURREPOS[@]} ${USERREPOS[@]} ${PROJREPOS[@]}; do +for parabola_repo in ${USERREPOS[@]} ${PROJREPOS[@]}; do + echo ":: Syncing ${parabola_repo}/ => ${FTP_BASE}/${parabola_repo}/" + rsync -avL ${dryrun} --progress -e ssh parabolavnx@69.163.153.218:repo/${parabola_repo}/ ${FTP_BASE}/${parabola_repo}/ +done + +# Sync our arches +#for parabola_arch in ${OURARCHES[@]}; do +#for arch_repo in ${ARCHREPOS[@]}; do + #echo ":: Syncing ${arch_repo}/os/${parabola_arch}/ => ${FTP_BASE}/${arch_repo}/os/${parabola_arch}/" +# rsync -avL ${dryrun} --progress -e ssh parabolavnx@69.163.153.218:repo/${arch_repo}/os/${parabola_arch}/ ${FTP_BASE}/${arch_repo}/os/${parabola_arch}/ +#done +#done +# +# Sync other dirs last +#for other in screenshots isos; do +for other in other; do + echo ":: Syncing ${other}/ => ${FTP_BASE}/${other}/" + rsync -avL ${dryrun} --progress -e ssh parabolavnx@69.163.153.218:repo/${other}/ ${FTP_BASE}/${other} +done + +exit $? |