Anyway to disable sync.ffs_lock file creation?

Get help for specific problems
Posts: 5
Joined: 22 Feb 2010

webmastir

I was wondering if there's a way to turn off sync.ffs_lock file creation during a one time sync process?

And/or a way to specify where the sync.ffs_lock file is created? I have a sync process syncing a folder that is watched by a File Watcher of some sort. It thinks sync.ffs_lock is something it's supposed to consume (no way to filter that either).
Posts: 5
Joined: 22 Feb 2010

webmastir

Nothing eh?
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

See help file chapter "Expert Settings" on how to disable the lock file.
Posts: 5
Joined: 22 Feb 2010

webmastir

Wow I'm an idiot and completely missed those obvious settings.

Thank you Zenju.
Posts: 27
Joined: 20 Nov 2021

jackdashack

I am not seeing a Global Settings in my FreeFileSync folder. And by reading the expert settings it's not clear to me but I'm not an expert? I delete the lock file and it comes right back. This started out of the clear blue when it had been running well all along?
User avatar
Posts: 4056
Joined: 11 Jun 2019

xCSxXenon

Make sure FFS is completely closed before editing the settings file, otherwise the changes won't stay.
Posts: 27
Joined: 20 Nov 2021

jackdashack

xCSxXenon: extreme ignorance here. Covid has eaten my brain. :-\\ How do you edit the settings of a program if it is closed before you edit it? Is it a separate file in the program folder? I checked. And if I try to edit the _batch file it opens FFS. Thanks for putting in here for us!
Posts: 27
Joined: 20 Nov 2021

jackdashack

Should it look like this when I'm done to disable lock files. I am obviously not as geeky as I'd like to be or are you all are. This is what I've done . . . . of course it can be undone.

<FileTimeTolerance Seconds="2"/>
<RunWithBackgroundPriority Enabled="true"/>
<LockDirectoriesDuringSync Enabled="false"/>
<VerifyCopiedFiles Enabled="false"/>
Posts: 27
Joined: 20 Nov 2021

jackdashack

I changed a bad line in the above.
User avatar
Posts: 4056
Joined: 11 Jun 2019

xCSxXenon

I'm assuming that's not the whole file and is just a snippet containing the important code.
That looks correct, is it not working as expected?
Posts: 27
Joined: 20 Nov 2021

jackdashack

Yes, just a snip. It's running, I guess it's stopping the lock files. But I haven't stopped if from running. I am going to the next answer which is about the multiple listings in Task Manager and see what you are recommending there. ty so kind for your help to this point! ":-Dx
Posts: 27
Joined: 20 Nov 2021

jackdashack

I changed <ProgressDialog Minimized="false" AutoClose="true"/>