Skip to content

Commit

Permalink
tweak rsync command
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakjois committed Aug 7, 2024
1 parent 9501538 commit b3ed9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync-notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b3ed9b5

Please sign in to comment.