diff options
author | Erich Eckner <git@eckner.net> | 2022-10-22 19:25:29 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-10-22 19:25:29 +0200 |
commit | 78924b80775515ab4c8dec7d9963deef17e9eecd (patch) | |
tree | 9b7eed457139be5c6600b7454a69520c67d49d94 /bin | |
parent | b8216f6dd92c288beaee2252e81efabfc3fd983e (diff) | |
download | airgapd-78924b80775515ab4c8dec7d9963deef17e9eecd.tar.xz |
bin/clone-mirror neu
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/clone-mirror | 10 |
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/" |