summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-10-22 19:25:29 +0200
committerErich Eckner <git@eckner.net>2022-10-22 19:25:29 +0200
commit78924b80775515ab4c8dec7d9963deef17e9eecd (patch)
tree9b7eed457139be5c6600b7454a69520c67d49d94 /bin
parentb8216f6dd92c288beaee2252e81efabfc3fd983e (diff)
downloadairgapd-78924b80775515ab4c8dec7d9963deef17e9eecd.tar.xz
bin/clone-mirror neu
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/"