update at 2023/08/14

This commit is contained in:
2023-08-14 21:41:37 +08:00
parent a039a664f1
commit 44e8cbee2c
255 changed files with 20426 additions and 233 deletions

10
tools/misc/rsyncsmb.sh Normal file
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/"