batch file to compare and copyto 3th folder

Get help for specific problems
Posts: 1
Joined: 8 Jun 2021

Plutoboy

Hi,

I'm new to FreeFioleSync and as I see I can do what I want when opening the GUI, I want to do the same in a batch file to run it every hour on my system. (scheduled task)
What I need to do:
- compare directory 1 and directory 2 (date and filesize)
- copy the different files from directory 1 to a 3the directory (copyto function in the GUI)
- copy now these files also to directory 2

I don't find any help to make this batch file myself - how to compare the directories and copy them to a 3th directory.
Is this possible? And is there somewhere a good help file about what can be done/how to create such batch file?
Any help is greatly appreciated!

Thanks in advance.
User avatar
Posts: 2946
Joined: 22 Aug 2012

Plerry

The FFS Copy-to function in the GUI is only available in GUI, not in a batch file.
This makes sense, as the Copy-to action only applies to items you have selected prior to the Copy-to action. A batch file does not have the capability of selecting (or deselecting) files.