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).
Anyway to disable sync.ffs_lock file creation?
- Posts: 5
- Joined: 22 Feb 2010
- Posts: 5
- Joined: 22 Feb 2010
Nothing eh?
- Site Admin
- Posts: 7211
- Joined: 9 Dec 2007
See help file chapter "Expert Settings" on how to disable the lock file.
- Posts: 5
- Joined: 22 Feb 2010
Wow I'm an idiot and completely missed those obvious settings.
Thank you Zenju.
Thank you Zenju.
- Posts: 27
- Joined: 20 Nov 2021
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?
- Posts: 4056
- Joined: 11 Jun 2019
Make sure FFS is completely closed before editing the settings file, otherwise the changes won't stay.
- Posts: 27
- Joined: 20 Nov 2021
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: 4056
- Joined: 11 Jun 2019
Read this carefully:
https://freefilesync.org/manual.php?topic=expert-settings
https://freefilesync.org/manual.php?topic=expert-settings
- Posts: 27
- Joined: 20 Nov 2021
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"/>
<FileTimeTolerance Seconds="2"/>
<RunWithBackgroundPriority Enabled="true"/>
<LockDirectoriesDuringSync Enabled="false"/>
<VerifyCopiedFiles Enabled="false"/>
- Posts: 27
- Joined: 20 Nov 2021
I changed a bad line in the above.
- Posts: 4056
- Joined: 11 Jun 2019
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?
That looks correct, is it not working as expected?
- Posts: 27
- Joined: 20 Nov 2021
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
I changed <ProgressDialog Minimized="false" AutoClose="true"/>