Automatically mirror changes in local directories to a remote server.
Your system must have rsync
available on the commandline. On Windows, this can be accomplished by using MSYS + MinGW or Git for Windows + Grsync.
Run pip install -r requirements.txt
to install the required Python packages
Copy the autosync.json config file to the level above your project directories, and add an entry to the jobs
dictionary for each one you want to keep in sync.
Navigate to the location of the config file and run python /path/to/autosync.py
.
In the config file, only use / as the directory separator. Internally, \ is replaced with / for cross-platform consistency, as Windows understands them just fine.