Updated on 2023-05-29 GMT+08:00

Script File

The script package is DirSyncScript.zip, which contains the following files:

  • sync.sh: Main program
  • sync.conf: Configuration file, which is used to configure information such as the directories to be synchronized and the address of the destination server
  • start_inotifywait.sh: Inotify monitoring script, which monitors the changes to the files and reports the changes after being executed
  • inotify-tools-3.14.tar.gz: Inotify installation package

Rsync synchronization logs are stored in /var/log/rsyncd.log.