Differences

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

2013-01-23 2013-02-14
Restored revision 1358524375. Undoing revision 1358936565. (martin) (hidden) no summary (97.124.95.235)
Line 342: Line 342:
===== [[synchronize_any_local_file]] Shortcut to synchronize any local directory with remote directory ===== ===== [[synchronize_any_local_file]] Shortcut to synchronize any local directory with remote directory =====
-You may want to have script that synchronizes any local directory with a same-named subdirectory of fixed remote path, e.g.:+You may want to have a script that synchronizes any local directory with a same-named subdirectory of fixed remote path, e.g.:
  * ''c:\www\gallery'' with ''/home/user/www/gallery'';   * ''c:\www\gallery'' with ''/home/user/www/gallery'';
  * ''c:\documents and settings\username\www\forum'' with ''/home/user/www/forum''.   * ''c:\documents and settings\username\www\forum'' with ''/home/user/www/forum''.
-Such script is particularly useful for integrating with Windows Explorer's 'Send To' menu.+Such a script is particularly useful for integrating with Windows Explorer's 'Send To' menu.
First create wrapper batch file to store the paths you want to synchronize into environment variables (change ''/home/user/www/'' to remote path root you want to synchronize against): First create wrapper batch file to store the paths you want to synchronize into environment variables (change ''/home/user/www/'' to remote path root you want to synchronize against):

Last modified: by 97.124.95.235