update rclone manual
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user