Differences

This shows you the differences between the selected revisions of the page.

2019-03-27 2019-04-11
5.15 released - removing beta notices (martin) 5.12 Extensions metadata can span multiple lines. (martin)
Line 19: Line 19:
<code powershell - KeepLocalUpToDate.ps1> <code powershell - KeepLocalUpToDate.ps1>
# @name        &Keep Local Directory up to Date... # @name        &Keep Local Directory up to Date...
-# @command      powershell.exe -ExecutionPolicy Bypass -File "%EXTENSION_PATH%" -sessionUrl "!S" -localPath "%LocalPath%" -remotePath "%RemotePath%" %Delete% %Beep% %ContinueOnError% -interval "%Interval%" -pause -sessionLogPath "%SessionLogPath%" +# @command      powershell.exe -ExecutionPolicy Bypass -File "%EXTENSION_PATH%"
-# @description  Periodically scans for changes in a remote directory and reflects them on a local directory +#                  -sessionUrl "!S" -localPath "%LocalPath%" -remotePath "%RemotePath%"
-# @version      4+#                  %Delete% %Beep% %ContinueOnError% -interval "%Interval%" -pause
 +#                  -sessionLogPath "%SessionLogPath%" 
 +# @description  Periodically scans for changes in a remote directory and
 +#                  reflects them on a local directory 
 +# @version      5
# @homepage    ~~SELF~~ # @homepage    ~~SELF~~
-# @require      WinSCP 5.9.2+# @require      WinSCP 5.12
# @option      - -run group "Directories" # @option      - -run group "Directories"
# @option        RemotePath -run textbox "&Watch for changes in the remote directory:" "!/" # @option        RemotePath -run textbox "&Watch for changes in the remote directory:" "!/"
-# @option        LocalPath -run textbox "... &and automatically reflect them on the local directory:" "!\"+# @option        LocalPath -run textbox
 +#                    "... &and automatically reflect them on the local directory:" "!\"
# @option      - -config -run group "Options" # @option      - -config -run group "Options"
# @option        Delete -config -run checkbox "&Delete files" "" -delete # @option        Delete -config -run checkbox "&Delete files" "" -delete
Line 34: Line 39:
# @option      - -config group "Logging" # @option      - -config group "Logging"
# @option        SessionLogPath -config sessionlogfile # @option        SessionLogPath -config sessionlogfile
-# @optionspage  ~~SELF~~#options+# @optionspage 
 +#    ~~SELF~~#options
param ( param (

Last modified: by martin