Use FTP to batch-update all user lua-scripts at once? - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Use FTP to batch-update all user lua-scripts at once? (/showthread.php?tid=4608) |
Use FTP to batch-update all user lua-scripts at once? - temp4 - 27.02.2023 Hi! I have ~50 lua-scripts (event, scheduled, residential) in my Wiser for KNX and keep local copies of the .lua-files on my computer for easy editing. Occasionally, I do changes that affect more or less all 50 scripts at once. Then it is a lot of work to manually open each of the 50 User script to paste in the associated source code and re-save them... Is it possible to use FTP and upload an entire script-folder at once? Sincerely, Robert Karlsson RE: Use FTP to batch-update all user lua-scripts at once? - admin - 27.02.2023 Event/resident/scheduled script are stored in the database and then cached in the filesystem. User libraries are stored directly in the filesystem. See this for more info on how to overwrite user libraries: https://forum.logicmachine.net/showthread.php?tid=1301 RE: Use FTP to batch-update all user lua-scripts at once? - temp4 - 27.02.2023 Ok, I see. So there is no easy way of making a batch update for scripts other than the "user scripts"? Thanks for the quick reply! RE: Use FTP to batch-update all user lua-scripts at once? - admin - 27.02.2023 Check this: https://forum.logicmachine.net/showthread.php?tid=4514 RE: Use FTP to batch-update all user lua-scripts at once? - temp4 - 28.02.2023 (27.02.2023, 08:11)admin Wrote: Check this: https://forum.logicmachine.net/showthread.php?tid=4514 Great! Thanks! This will save me a lot of time. |