Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rclone-inotify

Automatically sync files whenever filesystem changes occour.

Modes

sync

Uses rclone "sync" command to update the rclone remote. Changes on the remote will be overridden.

move

Uses rclone "move" command to move all files in /data volume the rclone remote. Local files were deleted.

rename-move

Renames the new file to their file create time, moves the file to the rclone remote and deletes the original local file.

Environment Variables

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

Volumes

  • /data Local directory you want to sync
  • /config/rclone rclone config directory, there must be a rclone.conf file.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages