keep local directory up to date batch file
Hi,
I have a working .bat file that, when executed from my PC, automatically keeps a directory on my remote PLC directory up to date when changes are made to a directory on my PC. I would like to change the script to flip the sync direction to give me the opposite result: when a change is made on the PLC directory it needs to keep the PC directory up to date.
This is my current line of code that runs syncing from PC>PLC which works for that:
What syntax would give me the syncing from PLC>PC instead? I am very new to all of this scripting language so elaborate explanations are welcome.
Thanks!
I have a working .bat file that, when executed from my PC, automatically keeps a directory on my remote PLC directory up to date when changes are made to a directory on my PC. I would like to change the script to flip the sync direction to give me the opposite result: when a change is made on the PLC directory it needs to keep the PC directory up to date.
This is my current line of code that runs syncing from PC>PLC which works for that:
"keepuptodate "C:/test/PLC_RX/" /opt/plcnext/test/" ^
Thanks!