From 7fd9935c5a92a40191bf1d87a6450bba3d8b6147 Mon Sep 17 00:00:00 2001 From: Vomitblood Date: Tue, 15 Jul 2025 04:30:00 +0800 Subject: [PATCH] asdf --- .gitignore | 3 ++- sync_pull.sh | 4 ++++ sync_push.sh | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 sync_pull.sh create mode 100755 sync_push.sh diff --git a/.gitignore b/.gitignore index 1faf22c..fb539e8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ # ignore config files in each subdirectory -# */config.json \ No newline at end of file +# */config.json +private/* \ No newline at end of file diff --git a/sync_pull.sh b/sync_pull.sh new file mode 100755 index 0000000..d6ac724 --- /dev/null +++ b/sync_pull.sh @@ -0,0 +1,4 @@ +#!/bin/bash +rsync -avz --delete --info=progress2 --stats --no-links --exclude='.git/' mikoshi:/home/mikoshi/data1/webdav/syncs/stardew-valley-mods-nsfw/ ./; +echo "Sync complete. Press Enter to close the terminal..."; +read; diff --git a/sync_push.sh b/sync_push.sh new file mode 100755 index 0000000..17dcedf --- /dev/null +++ b/sync_push.sh @@ -0,0 +1,4 @@ +#!/bin/bash +rsync -avz --delete --info=progress2 --stats --no-links --exclude='.git/' ./ mikoshi:/home/mikoshi/data1/webdav/syncs/stardew-valley-mods-nsfw/; +echo "Sync complete. Press Enter to close the terminal..."; +read; \ No newline at end of file