From 819a8e36263bbbed182f20040555ba2644dba1be Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 7 Feb 2026 21:50:59 -0600 Subject: Add .gitignore and increase rsync I/O timeout to 10 minutes Add .gitignore for docs/ and inbox/. Increase rsync --timeout from 300s to 600s for slower connections. --- .gitignore | 2 ++ rsyncshot | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7e8493f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +docs/ +inbox/ diff --git a/rsyncshot b/rsyncshot index 29746dd..5b5820b 100755 --- a/rsyncshot +++ b/rsyncshot @@ -888,7 +888,7 @@ while IFS= read -r SOURCE || [ -n "$SOURCE" ]; do if [ "$DRYRUN" = true ]; then # Dry run: show what would be transferred - rsync -avh --times --timeout=300 \ + rsync -avh --times --timeout=600 \ --delete --delete-excluded \ --exclude-from="$EXCLUDES" \ --dry-run \ @@ -896,7 +896,7 @@ while IFS= read -r SOURCE || [ -n "$SOURCE" ]; do RSYNC_EXIT=$? else # Actual backup - rsync -avh --times --timeout=300 \ + rsync -avh --times --timeout=600 \ --delete --delete-excluded \ --exclude-from="$EXCLUDES" \ "$SOURCE" "$DESTINATION"/latest -- cgit v1.2.3