#!/bin/bash work_dir=$(readlink -e "$0") work_dir="${work_dir%/*/*}/work" mkdir -p "${work_dir}/archlinuxarm/" rsync -rlptH --safe-links --delete-delay --delay-updates \ 'rsync://de3.mirror.archlinuxarm.org/archlinux-arm/' \ "${work_dir}/archlinuxarm/"