From 69c11d415d4a2717017e43643002553103b27dd6 Mon Sep 17 00:00:00 2001 From: Jaewook Lee <11328376+jaewooklee93@users.noreply.github.com> Date: Mon, 1 Jul 2024 17:27:36 +0900 Subject: [PATCH] update rclone manual --- rclone-sync-crontab/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rclone-sync-crontab/README.md b/rclone-sync-crontab/README.md index 8f9f012..61a0057 100644 --- a/rclone-sync-crontab/README.md +++ b/rclone-sync-crontab/README.md @@ -13,10 +13,13 @@ 3. 새 cron 작업 추가: ```sh - 0 2 * * * /usr/bin/rclone sync /home/w/dev minio:dev + 0 2 * * * /usr/bin/rclone sync /home/w/dev minio:dev --exclude '*:*' --ignore-errors -L ``` - `0 2 * * *`: 매일 오전 2시에 실행 - `rclone`을 사용하여 `/home/w/dev` 디렉토리를 `minio:dev`로 동기화 + - `--exclude '*:*'`: 파일 이름에 :가 들어간 것들은 업로드에서 제외 + - `--ignore-errors`: 업로드 과정에 오류가 있는 파일이 있더라도 업로드 진행 + - `-L`: symbolic link는 원본 파일을 찾아서 업로드 4. 편집한 파일의 Syntax 확인 ```sh