Sync File after modification

Discuss new features and functions
Posts: 50
Joined: 7 Nov 2009

rctneil

Hi,
I have a file in a speciifc location on my drive whcih I use regularly and
update but I also wish to have an exact copy of that file in another specific
location and do not want to keep copying and pasting the updated version
everytime a change is made. Is there some way I can use FFS to monitor the
file and everytime a change is made, to sync it to another location so both
copies are up to date?
Posts: 50
Joined: 7 Nov 2009

rctneil

I have just looked at RealTimeSync but it doesn;t seem to work for just a
specific file within a folder. I also have no idea how to set the command line
thing up?
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

Yes, "RealtimeSync" has been created exactly to solve the problem you
describe. Have a look at the helpfile of v3.2 for a description how to setup.
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

> but it doesn;t seem to work for just a specific file

No problem, simply use the parent folder and use an include filter, so that
only your specific file is considered.
Posts: 50
Joined: 7 Nov 2009

rctneil

I'm really sorry, but i'm very confused?, Could you talk me thoguh the steps
to achieve this?
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

Have you read the helpfile? What steps are not clear?
Posts: 50
Joined: 7 Nov 2009

rctneil

Everything really, Like you said I need to set up a filter. I found the filter
dialog in FFS but have no idea what to type in it. Sorry,
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

You can click on the help button to get some tipps how to specify a filter.
Generally: If C:\test\file.txt is the only file you want to include, you use
C:\test as to-be-synced folder and include "\file.txt", exclude nothing.
Posts: 50
Joined: 7 Nov 2009

rctneil

ok, I have set up my sync settings with the source and destination and set up
the include filter and that works as expected.

Now, I know what the put in the directories to watch field but what do I put
in the commandline box? I want it to watch the folder I specifiy and run that
specific syn settings file every time the file is altered but I also want this
to start automatically with windows so the entire thing should be a hands off
auto sync system
Posts: 50
Joined: 7 Nov 2009

rctneil

I have tried importing my exported FFS gui settings file into RealTimeSync but
it's only looking for a .ffs_real or .ffs_batch?
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

Yes, generally it only makes sense to start batch jobs when changes in the
monitored directories occured, therefore it is possible to also load
*.ffs_batch files with RTS.
You probably want to configure the *.ffs_batch file to run in silent mode, to
not show up when synchronization is active. Then load the *.ffs_batch file
with RealtimeSync to get a default configuration. Check, if it meets your
requirements.
To have RealtimeSync start with Windows create a *.cmd file containting
something like:

C:\FreeFileSync\RealtimeSync.exe c:\syncjob.ffs_real
Posts: 50
Joined: 7 Nov 2009

rctneil

Ok, but what is a batch file? I only have a config file exported by FFS as
normal?
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

It's a sync-job that runs automatically without user-intervention. You can
create one via FFS's gui under menu->advanced->create batch job. Here you can
configure everything that is relevant for batch-synchronization.
Posts: 50
Joined: 7 Nov 2009

rctneil

The batch file I made runs perfectly but I wrote the batch file as this:

D:\Neil\Documents\Small Single Programs\FreeFileSync\64 Bit\RealtimeSync.exe
D:\Neil\Documents\Config and Plugins\FreeFileSync\keepass_to_dropbox.ffs_batch

saved as batch.bat and when run, it doesn;t open RTS in the system tray?
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

You should add "-characters as your paths contain spaces. Then retry.
Posts: 50
Joined: 7 Nov 2009

rctneil

Firstly Happy New Year and secondly it works perfectly now. Just have to add
it as a startup item!
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

Good to hear! :) And happy new year!!