The batch not working is supposed to sync a folder from a CentOS 7 machine to a Windows Server 2012 r2 Share and is running from a Windows Server 2012 R2 machine. Both folders can be reached manually on the server running FreeFileSync and works, as explained above, only once when started. Also, there aren't any log files created when nothing gets synced, only when started a log file is created that files have been synced.
The version of FreeFileSync I'm running is 10.10.
This is the XML code from the batch file:
<?xml version="1.0" encoding="utf-8"?>
<FreeFileSync XmlType="BATCH" XmlFormat="14">
<Compare>
<Variant>TimeAndSize</Variant>
<Symlinks>Exclude</Symlinks>
<IgnoreTimeShift/>
</Compare>
<Synchronize>
<Variant>Update</Variant>
<DetectMovedFiles>false</DetectMovedFiles>
<DeletionPolicy>RecycleBin</DeletionPolicy>
<VersioningFolder Style="Replace"/>
</Synchronize>
<Filter>
<Include>
<Item>*</Item>
</Include>
<Exclude>
<Item>\System Volume Information\</Item>
<Item>\$Recycle.Bin\</Item>
<Item>\RECYCLER\</Item>
<Item>\RECYCLED\</Item>
<Item>*\desktop.ini</Item>
<Item>*\thumbs.db</Item>
</Exclude>
<TimeSpan Type="None">0</TimeSpan>
<SizeMin Unit="None">0</SizeMin>
<SizeMax Unit="None">0</SizeMax>
</Filter>
<FolderPairs>
<Pair>
<Left>\\s2f-file01\Scans</Left>
<Right>\\dc01\data2$\Scans</Right>
</Pair>
</FolderPairs>
<Errors Ignore="true" Retry="1" Delay="5"/>
<LogFolder/>
<PostSyncCommand Condition="Completion"/>
<Batch>
<ProgressDialog Minimized="true" AutoClose="true"/>
<ErrorDialog>Show</ErrorDialog>
<PostSyncAction>None</PostSyncAction>
</Batch>
</FreeFileSync>
<?xml version="1.0" encoding="utf-8"?>
<FreeFileSync XmlType="REAL">
<Directories>
<Item>\\dc01\data2$\Scans</Item>
<Item>\\s2f-file01\Scans</Item>
</Directories>
<Delay>10</Delay>
<Commandline>"C:\Program Files\FreeFileSync\FreeFileSync.exe" "D:\FreeFileSync\S2F Ricoh\S2F-Ricoh_v2.ffs_batch"</Commandline>
</FreeFileSync>