summaryrefslogtreecommitdiff
path: root/bin/clone-mirror
blob: cd5c0353397f06dcdda345759286e4a6d6e5c35f (plain)
1
2
3
4
5
6
7
8
9
10
#!/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/"