

The command above will copy/mirror the source directory recursively to the target directory: $ tree sample If the target directory is on a different machine: $ lsyncd -rsyncssh /home/baeldung/sample/source/ target-path/ Let’s set up a local lsync: $ lsyncd -rsync /home/baeldung/sample/source /home/baeldung/sample/target


Our ~/sample/source directory will now sync to ~/sample/target directory every minute. The script removed the files in the target directory successfully. If the service's Interact with Desktop setting is enabled, the FreeFileSync status can also be verified by switching to Windows Session 0 to view the FreeFileSync's messages.Let’s delete a file ( ~/sample/source/file01.bin) from the source to see if it will also delete the same file from the target: $ rm sample/source/file01.bin

If the service's Startup Type is set to Automatic or Automatic (Delayed-Start), it will start immediately. (Optional) CPU Bindings: To run the application on a specific CPU, specify the appropriate CPU in this field.(Optional) Priority: To allocate more CPU time to the application, select a higher scheduling priority in this field.Alternatively, this setting may be disabled, in which case the application's messages will be hidden. To switch to Session 0, it may be necessary to install FireDaemon Zero and ZeroInput. (Optional) Interact with Desktop: If this setting is enabled (default), the application's output messages can be seen in the console window on Windows Session 0.Password / Confirm Password: Enter the logon account's password twice.(Optional) Logon Account: Enter the Windows account under which the application is to be run, e.g.If you do not set this then "RealTimeSync_圆4.exe" will be orphaned when the service is stopped or restarted. (Required) Job Type: You must set job type to "Global Job".Next, click on the FireDaemon Pro Settings tab:Įnter appropriate values in the fields on the Settings tab as follows: Adjust the path names to suit your installation. Enter the information into the fields as you see below. +) button in the toolbar (or type Ctrl + N) to create a new service. Double click the FireDaemon Pro icon on your desktop, then click on the New (i.e. Step 2: Set Up FreeFileSync as a FireDaemon Pro Serviceĭownload and install FireDaemon Pro.
