diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:04:59 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:04:59 +0200 |
commit | f570e2f2685aa43aa518c2f8578391c1847cddbe (patch) | |
tree | b9376b3a7e807c5e0c4cf3d5615c14034d9675d6 /BUILD/Help/html/advanced/RealtimeSync.html | |
parent | 3.2 (diff) | |
download | FreeFileSync-f570e2f2685aa43aa518c2f8578391c1847cddbe.tar.gz FreeFileSync-f570e2f2685aa43aa518c2f8578391c1847cddbe.tar.bz2 FreeFileSync-f570e2f2685aa43aa518c2f8578391c1847cddbe.zip |
3.3
Diffstat (limited to 'BUILD/Help/html/advanced/RealtimeSync.html')
-rw-r--r-- | BUILD/Help/html/advanced/RealtimeSync.html | 103 |
1 files changed, 84 insertions, 19 deletions
diff --git a/BUILD/Help/html/advanced/RealtimeSync.html b/BUILD/Help/html/advanced/RealtimeSync.html index 7eac013c..156409ba 100644 --- a/BUILD/Help/html/advanced/RealtimeSync.html +++ b/BUILD/Help/html/advanced/RealtimeSync.html @@ -5,7 +5,7 @@ <TITLE></TITLE> <META NAME="GENERATOR" CONTENT="OpenOffice.org 3.0 (Win32)"> <META NAME="CREATED" CONTENT="20091206;16574000"> - <META NAME="CHANGED" CONTENT="20091213;16073500"> + <META NAME="CHANGED" CONTENT="20100125;20445600"> <META NAME="Info 1" CONTENT=""> <META NAME="Info 2" CONTENT=""> <META NAME="Info 3" CONTENT=""> @@ -21,7 +21,7 @@ --> </STYLE> </HEAD> -<BODY LANG="de-DE" DIR="LTR"> +<BODY LANG="en-US" DIR="LTR"> <H3 CLASS="western"><FONT FACE="Tahoma, sans-serif">RealtimeSync</FONT></H3> <P STYLE="margin-bottom: 0cm"><BR> </P> @@ -30,41 +30,46 @@ primary function is to trigger synchronization immediately after files in a source directory have changed. However its implementation is much more flexible to cover an even broader range of use: A list of directories provided by the user is monitored for changes. -Whenever a file or a subdirectory is modified, RealtimeSync responds -by executing the user-specified commandline.</FONT></P> +Whenever a file within these directories or subdirectories is +modified OR the directory becomes available (e.g. insert of a +USB-stick), RealtimeSync responds by executing the user-specified +command line.</FONT></P> <P STYLE="margin-bottom: 0cm"><BR> </P> <P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><B>Example:</B></FONT> <FONT FACE="Tahoma, sans-serif">(Real time synchronization - in combination with FreeFileSync)</FONT></P> <P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">First -specify all directories that shall be monitored. Instead of doing -this manually you can simply import a *.ffs_batch file via </FONT><FONT FACE="Tahoma, sans-serif"><I>Menu +start up RealtimeSync.exe located in FreeFileSync's installation +directory. Then specify all directories that shall be monitored. +Instead of doing this manually you can simply import a </FONT><FONT FACE="Courier New, monospace">*.ffs_batch</FONT> +<FONT FACE="Tahoma, sans-serif">file via </FONT><FONT FACE="Tahoma, sans-serif"><I>Menu -> File -> Load configuration</I></FONT><FONT FACE="Tahoma, sans-serif">. This not only extracts all directories relevant for synchronization -but also sets up the commandline to execute the *.ffs_batch file -every time changes are detected. Then press start to begin -monitoring.</FONT></P> +but also sets up the command-line to execute the </FONT><FONT FACE="Courier New, monospace">*.ffs_batch</FONT> +<FONT FACE="Tahoma, sans-serif">file every time changes are detected. +Now press "</FONT><FONT FACE="Tahoma, sans-serif"><I>Start</I></FONT><FONT FACE="Tahoma, sans-serif">" +to begin monitoring.</FONT></P> <UL> - <P STYLE="margin-bottom: 0cm"><IMG SRC="RealtimeSync_html_72dda21b.gif" NAME="Grafik1" ALIGN=MIDDLE WIDTH=382 HEIGHT=395 BORDER=0></P> + <P STYLE="margin-bottom: 0cm"><IMG SRC="rts23.png" NAME="Grafik3" ALIGN=MIDDLE WIDTH=503 HEIGHT=429 BORDER=0></P> </UL> <P STYLE="margin-bottom: 0cm"><BR> </P> <UL> - <P STYLE="margin-bottom: 0cm"><SPAN ID="Rahmen3" DIR="LTR" STYLE="float: left; width: 80%; height: 0.14cm; border: 1px solid #000080; padding: 0.05cm; background: #ccccff"> + <P><SPAN ID="Rahmen3" DIR="LTR" STYLE="float: left; width: 80%; height: 0.14cm; border: 1px solid #000080; padding: 0.05cm; background: #ccccff"> <UL> <P ALIGN=LEFT STYLE="margin-right: 0.98cm; margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><B>Note:</B></FONT></P> <LI><P ALIGN=LEFT STYLE="margin-right: 0.98cm; margin-bottom: 0cm"> <FONT FACE="Tahoma, sans-serif">Using RealtimeSync is not - restricted to starting FreeFileSync. It can also be used for other + restricted to starting FreeFileSync. It can also be used in other scenarios, like sending an email whenever a certain directory is modified.</FONT></P> <LI><P ALIGN=LEFT STYLE="margin-right: 0.98cm; margin-bottom: 0cm"> <FONT FACE="Tahoma, sans-serif">Starting the tool can be automated - by passing a RealtimeSync configuration file (*.ffs_real) OR a - FreeFileSync Batch file (*.ffs_batch) as first commandline - argument. This allows for integration with your operating system's - autostart facility:</FONT></P> + by passing a RealtimeSync configuration file (<FONT FACE="Courier New, monospace">*.ffs_real</FONT>) + OR a FreeFileSync Batch file (<FONT FACE="Courier New, monospace">*.ffs_batch</FONT>) + as first command-line argument. This allows for integration with + your operating system's autostart facility:</FONT></P> </UL> </SPAN><BR CLEAR=LEFT> </P> @@ -72,13 +77,73 @@ monitoring.</FONT></P> <P STYLE="margin-bottom: 0cm"><BR> </P> <UL> + <P><SPAN ID="Rahmen2" DIR="LTR" STYLE="float: left; width: 80%; height: 0.14cm; border: none; padding: 0cm; background: #e6e6e6"> + <P ALIGN=LEFT STYLE="margin-left: 0.79cm; margin-right: 0.98cm; margin-bottom: 0cm"> + <FONT FACE="Courier New, monospace">"C:\Program + Files\FreeFileSync\RealtimeSync.exe" + "C:\MyConfig.ffs_real"<BR>"C:\Program + Files\FreeFileSync\RealtimeSync.exe" "C:\SyncJob.ffs_batch"</FONT></P> + </SPAN><BR CLEAR=LEFT> + </P> +</UL> +<P STYLE="margin-bottom: 0cm"><BR> +</P> +<P STYLE="margin-bottom: 0cm"><BR> +</P> +<P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><B>Example:</B></FONT> +<FONT FACE="Tahoma, sans-serif">(Smart synchronization when USB +sticks are inserted into your PC - in combination with FreeFileSync)</FONT></P> +<P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">Assume +you have multiple(!) USB sticks that contain data you want to +automatically synchronize in two-way mode whenever you insert one of +the sticks into the PC. In order to be on the safe side, you decide +to setup FreeFileSync batch jobs (</FONT><FONT FACE="Courier New, monospace">*.ffs_batch</FONT><FONT FACE="Tahoma, sans-serif">) +using </FONT><FONT FACE="Tahoma, sans-serif"><I><Automatic></I></FONT> +<FONT FACE="Tahoma, sans-serif">mode so that conflicts, for example +files modified on both sides, are detected avoiding data loss. Save +the relevant configuration on each USB stick's root directory to have +it called when the stick is mounted. Then configure RealtimeSync +analog to the following:</FONT></P> +<UL> + <P><IMG SRC="rts.png" NAME="Grafik2" ALIGN=BOTTOM WIDTH=462 HEIGHT=411 BORDER=0></P> +</UL> +<P STYLE="margin-bottom: 0cm"><BR> +</P> +<P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">Whenever +directory "</FONT><FONT FACE="Courier New, monospace">H:\Data</FONT><FONT FACE="Tahoma, sans-serif">" +becomes available, the command-line executes and starts the batchjob +whose configuration is located on the stick. Furthermore it also +starts the batch job each time files are modified within "</FONT><FONT FACE="Courier New, monospace">H:\Data</FONT><FONT FACE="Tahoma, sans-serif">". +</FONT> +</P> +<P STYLE="margin-bottom: 0cm"><BR> +</P> +<P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">For +additional convenience it might be nice if the batch job remains +silent if synchronization completes successfully, otherwise shows +FreeFileSync's GUI dialog when errors occurred. Therefore create two +configurations, one silent-mode batch to be called by default and one +<FONT FACE="Courier New, monospace">*.ffs_gui</FONT> to be called +when former fails. Then replace the command-line to simply execute a +batch file similar to this one:</FONT></P> +<UL> <P><SPAN ID="Rahmen1" DIR="LTR" STYLE="float: left; width: 80%; height: 0.14cm; border: none; padding: 0cm; background: #e6e6e6"> <P ALIGN=LEFT STYLE="margin-left: 0.79cm; margin-right: 0.98cm; margin-bottom: 0cm"> - <FONT FACE="Courier New, monospace">C:\Program - Files\FreeFileSync\RealtimeSync.exe C:\MyConfig.ffs_real<BR>C:\Program - Files\FreeFileSync\RealtimeSync.exe C:\SyncJob.ffs_batch</FONT></P> + <FONT COLOR="#808080"><FONT FACE="Courier New, monospace"><I><B>::first + check whether USB-stick contains a sync-configuration at all</B></I></FONT></FONT><FONT FACE="Courier New, monospace"><BR>@if + exist "H:\Silent_Config.ffs_batch" (<BR></FONT><FONT COLOR="#808080"><FONT FACE="Courier New, monospace"><I><B>::configuration + found, now execute the synchronization batch job</B></I></FONT></FONT><FONT FACE="Courier New, monospace"><BR>"C:\Program + Files\FreeFileSync\FreeFileSync.exe" + "H:\Silent_Config.ffs_batch"<BR>@if not errorlevel 0 + (<BR></FONT><FONT COLOR="#808080"><FONT FACE="Courier New, monospace"><I><B>::if + something went wrong, start FreeFileSync in GUI + mode</B></I></FONT></FONT><FONT FACE="Courier New, monospace"><BR></FONT> <FONT FACE="Courier New, monospace">"C:\Program + Files\FreeFileSync\FreeFileSync.exe" + "H:\GUI_Config.ffs_gui"<BR>)<BR>)</FONT></P> </SPAN><BR CLEAR=LEFT> </P> </UL> +<P STYLE="margin-bottom: 0cm"><BR> +</P> </BODY> </HTML>
\ No newline at end of file |