OverviewThere are really only two directories to worry about. There is the Db directory that contains all the various settings including resin profiles and the index to your plates. Then there is the plates directory with a subdirectory for each plate you have created.
Enter a somewhat crude, but workable, Python script to synchronize my "master" with my "clients". In this script I look at the contents of the Db directory on the master to see what the latest datetime stamp is on any of the configuration files. Then I check the designated target client to see if the datetime stamp file we left there during the last update is older than what we just came up with on the master.
If an update is needed the contents of the Db directory are copied to the client. Then the plates directories are compared and where needed a new one will be created and filled, or an existing one will be cleaned out and refilled. The transfer is done after compressing the directory into a zip file. A CRC check is done on the transferred file prior to decompression.
Command Line Options
Notes and Caveats
- The script described above is still under development but is available here for brave souls.
- The script is provided as-is and I will take no responsibility for its operation!
- A knowledge of Python is required!
- You may need to copy the directory on the RPi where NanoDlp is installed so that rights work with SFTP.
- Once the above script is run the instance of NanoDlp needs to be restarted for changes to be visible
- You need to make sure your RPi and your host computer are in the same time zone and running synchronized times!