From 78924b80775515ab4c8dec7d9963deef17e9eecd Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 22 Oct 2022 19:25:29 +0200 Subject: bin/clone-mirror neu --- bin/clone-mirror | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/clone-mirror (limited to 'bin/clone-mirror') 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/" -- cgit v1.2.3-70-g09d2