summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/clone-mirror10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/clone-mirror b/bin/clone-mirror
new file mode 100755
index 0000000..cd5c035
--- /dev/null
+++ b/bin/clone-mirror
@@ -0,0 +1,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/"