Differences
This shows you the differences between the selected revisions of the page.
| scriptcommand_keepuptodate 2018-08-20 | scriptcommand_keepuptodate 2023-08-21 (current) | ||
| Line 1: | Line 1: | ||
| - | ====== keepuptodate ====== | + | ====== keepuptodate command ====== | 
| [[task_keep_up_to_date|Watches for changes]] in local directory and reflects them on remote one. | [[task_keep_up_to_date|Watches for changes]] in local directory and reflects them on remote one. | ||
| Line 23: | Line 23: | ||
| | ''-==filemask===<mask>'' | ''%%<mask>[;<mask2>...]%%'' \\ Sets [[file_mask|file mask]]. | | | ''-==filemask===<mask>'' | ''%%<mask>[;<mask2>...]%%'' \\ Sets [[file_mask|file mask]]. | | ||
| | ''-==resumesupport===<state>'' | ''%%on|off|<threshold>%%'' \\ Configures [[resume#automatic|automatic resume/transfer to temporary filename]]. | | | ''-==resumesupport===<state>'' | ''%%on|off|<threshold>%%'' \\ Configures [[resume#automatic|automatic resume/transfer to temporary filename]]. | | ||
| + | | ''-==rawtransfersettings== setting1=value1 setting2=value2 ...'' | Allows configuring any transfer settings using [[rawtransfersettings|raw format]] as in an INI file. E.g. to enable preserving of directory timestamps, use ''-rawtransfersettings PreserveTimeDirs=1''. The switch should come only after other parameters. | | ||
| Effective [[scriptcommand_option|options]]: ''[[scriptcommand_option#reconnecttime|reconnecttime]]'' | Effective [[scriptcommand_option|options]]: ''[[scriptcommand_option#reconnecttime|reconnecttime]]'' | ||
| Line 39: | Line 40: | ||
| </code> | </code> | ||
| - | ===== Converting to .NET Assembly ===== | + | ===== [[net]] Converting to .NET Assembly ===== | 
| There is no equivalent for ''keepuptodate'' command in [[library|.NET assembly]]. | There is no equivalent for ''keepuptodate'' command in [[library|.NET assembly]]. | ||
| You can make use of ''[[dotnet>System.IO.FileSystemWatcher]]'' to run non-recursive synchronization using ''[[library_session_synchronizedirectories|Session.SynchronizeDirectories]]'', when change in local directory occurs. | You can make use of ''[[dotnet>System.IO.FileSystemWatcher]]'' to run non-recursive synchronization using ''[[library_session_synchronizedirectories|Session.SynchronizeDirectories]]'', when change in local directory occurs. | ||