Automatically sync files whenever filesystem changes occour.
Uses rclone "sync" command to update the rclone remote. Changes on the remote will be overridden.
Uses rclone "move" command to move all files in /data volume the rclone remote. Local files were deleted.
Renames the new file to their file create time, moves the file to the rclone remote and deletes the original local file.
| VAR | REQUIRED | Description |
|---|---|---|
| MODE | ✓ | sync, move or rename-move |
| RCLONE_DESTINATION | ✓ | remote:Path |
| LOCAL_PATH | can be empty or relative to the volume mounted in /data | |
| RENAME_PATTERN | strftime format string, defaults to "%Y-%m-%d %H%M%S" | |
| SLEEP_AFTER_NOTIFY | wait after file modification is detected, defaults to 0 |
- /data Local directory you want to sync
- /config/rclone rclone config directory, there must be a rclone.conf file.