From 6e55edbcb5cae09245b29d84275a12397f86aa03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stian=20R=C3=B8dven-Eide?= Date: Fri, 30 May 2025 19:35:28 +0200 Subject: added annual 2025 --- annual/2025/sync | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 annual/2025/sync (limited to 'annual/2025/sync') diff --git a/annual/2025/sync b/annual/2025/sync new file mode 100755 index 0000000..da7b734 --- /dev/null +++ b/annual/2025/sync @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +# Sync a set of sources with a Git repository target. Set target +# directory where the repository is found. Make sure that all pahts are +# absolute !!! + +mv ${0##*/} ${XDG_RUNTIME_DIR}/ + +TRG="$HOME/git/fripost/meetings/annual/2024" +SRC="$HOME/cloud-fripost/fripost/årsmöte" + +echo ${0##*/}: I: ${SRC} ${TRG} 1>&2 + +rsync -a --delete -P ${SRC}/ ${TRG}/ \ + | grep -iv "^sending" +git -C ${TRG} status --short --branch + +mv ${XDG_RUNTIME_DIR}/${0##*/} . -- cgit v1.2.3