update at 2023/08/14

This commit is contained in:
simonzhangsz committed 2023-08-14 21:41:37 +08:00
1 parent a039a664f1
commit 44e8cbee2c
255 files changed
+20426 -233

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# 源目录(Windows目录)
SRC_DIR="192.168.2.119:/goprojects"
# 目标目录(Samba目录)
DST_DIR="/home/simon/goprojects"
# 同步目录
#rsync -avz --delete "$SRC_DIR/" "$DST_DIR/"
rsync -avz --delete --user=myuser --password-file=/path/to/password.txt "$SRC_DIR/" "$DST_DIR/"