Skip to content

parth-patil/auto_rsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Handy tool to setup a recursive watcher on a directory and rsync modified files to a remote host

If you get an error saying that "upper limit on inotify watches reached", you will have to increase the max watches allowed for users. Using the following
# cat /proc/sys/fs/inotify/max_user_watches
8192
# echo 16000 > /proc/sys/fs/inotify/max_user_watches
# cat /proc/sys/fs/inotify/max_user_watches
16000

# Ref http://www.infoq.com/articles/inotify-linux-file-system-event-monitoring

About

watch local dir for changes and sync it to remote host

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages