From b3ed9b56db6069ff8179f988470960541d776ff8 Mon Sep 17 00:00:00 2001 From: Deepak Jois Date: Wed, 7 Aug 2024 19:04:01 +0530 Subject: [PATCH] tweak rsync command --- sync-notes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync-notes.sh b/sync-notes.sh index 41fd153b..7d35fbbe 100755 --- a/sync-notes.sh +++ b/sync-notes.sh @@ -15,7 +15,7 @@ if [[ -z "$OBSIDIAN_REPO" ]]; then fi # Rsync contents -rsync -av "$OBSIDIAN_REPO/daily/" content/daily-notes/ +rsync -au --out-format="%n" "$OBSIDIAN_REPO/daily/" content/daily-notes/ # Check if there are changes if [[ -n $(git status -s) ]]; then