From 37d34a0d20607fa299479ad9ed4c32d9ac553e50 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 26 May 2021 13:16:58 +1000 Subject: [PATCH] fetch_dumps: add simple script that downloads all crash dumps locally --- fetch_dumps.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 fetch_dumps.sh diff --git a/fetch_dumps.sh b/fetch_dumps.sh new file mode 100755 index 0000000..26871a6 --- /dev/null +++ b/fetch_dumps.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +rsync --delete -rav crash.nerdcruft.net:/var/lib/kirby/dumps/ "$DIR/dumps/"