Greetings,
before recklessly fiddling with this file:
after deleting GlobalSettings.xml, would it then automatically be re-created with the default values next time FFS is started?
Thanks … ;)
GlobalSettings.xml → DELETE to get back to defaults ?
- Posts: 16
- Joined: 26 Jun 2021
- Posts: 2451
- Joined: 22 Aug 2012
Probably not, but it never hurts to try.
Simply rename your present GlobalSettings.xml to something else and then run FFS.
You can always rename it back.
Otherwise, delete your GlobalSettings.xml and then reinstall your FFS version.
Simply rename your present GlobalSettings.xml to something else and then run FFS.
You can always rename it back.
Otherwise, delete your GlobalSettings.xml and then reinstall your FFS version.
- Posts: 1038
- Joined: 8 May 2006
(
Looks like changes made are not saved to disk until program exit.
)
It sure appears to do that.after deleting GlobalSettings.xml, would it then automatically be re-created
Looks like changes made are not saved to disk until program exit.
)
- Posts: 2451
- Joined: 22 Aug 2012
Above reaction of therube triggered a refinement to my earlier reply:
As described in the FFS manual page on Expert Settings, making changes to (or deleting) the GlobalSettings.xml file should be done while FFS is not running. This includes any changes I suggest in my earlier reply.
If you make any changes to (or delete) the GlobalSettings.xml file while FFS is running, upon exiting FFS it will simply overwrite the existing (or create a new) GlobalSettings.xml file with the same contents as when FFS opened, or modified as per the changes made to the FFS global settings during the FFS active session.
So, it will then not restore/revert to the default settings.
As described in the FFS manual page on Expert Settings, making changes to (or deleting) the GlobalSettings.xml file should be done while FFS is not running. This includes any changes I suggest in my earlier reply.
If you make any changes to (or delete) the GlobalSettings.xml file while FFS is running, upon exiting FFS it will simply overwrite the existing (or create a new) GlobalSettings.xml file with the same contents as when FFS opened, or modified as per the changes made to the FFS global settings during the FFS active session.
So, it will then not restore/revert to the default settings.
- Posts: 16
- Joined: 26 Jun 2021
Thanks y'all for your replies!
What I should've been asking:
Is deleting GlobalSetting.xml a legitimate way with no downsides, intended by the programmers, to initialise FFS and get back to all default settings, just like it was after installation ?
And the answer seems to be a resounding YES!
I second that; it does.It sure appears to do that.
Of course, :D… but it never hurts to try.
What I should've been asking:
Is deleting GlobalSetting.xml a legitimate way with no downsides, intended by the programmers, to initialise FFS and get back to all default settings, just like it was after installation ?
And the answer seems to be a resounding YES!
Thanks for adding that, makes sense!should be done while FFS is not running.
- Posts: 16
- Joined: 26 Jun 2021
P.S.
Oh, and what I've just noticed:
While everything else seems initialised after deleting GlobalSetting.xml, my default Filters are different; they now do include the 3 Filters I added earlier, i.e.
/.DocumentRevisions-V100/
/.TemporaryItems/
*/._*
This is good, but it seems that Filters are stored elsewhere than GlobalSettings.xml …
Oh, and what I've just noticed:
While everything else seems initialised after deleting GlobalSetting.xml, my default Filters are different; they now do include the 3 Filters I added earlier, i.e.
/.DocumentRevisions-V100/
/.TemporaryItems/
*/._*
This is good, but it seems that Filters are stored elsewhere than GlobalSettings.xml …
- Posts: 4055
- Joined: 11 Jun 2019
Filters are saved per config, the default filters are saved in the globalsettings file. If you create a new sync, the default filters apply, but it doesn't retroactively apply
- Posts: 16
- Joined: 26 Jun 2021
Thanks for replying.
Anyway, GlobalSettings.xml, when recreated, is not the default, but it gets augmented with previous settings:
the original, 'virgin' file:
after deletion and automatic recreation:
That's exactly how I want it … ;)
Where is that config file? I checked Package Contents of the FFS.app file; is it 'FreeFileSync' in the folder 'MacOS' ?Filters are saved per config
Anyway, GlobalSettings.xml, when recreated, is not the default, but it gets augmented with previous settings:
the original, 'virgin' file:
<DefaultExclusionFilter>
<Item>/.fseventsd/</Item>
<Item>/.Spotlight-V100/</Item>
<Item>/.Trashes/</Item>
<Item>/._.Trashes</Item>
<Item>*/.DS_Store</Item>
</DefaultExclusionFilter>
<DefaultExclusionFilter>
<Item>*/._*</Item>
<Item>*/.DocumentRevisions-V100/</Item>
<Item>*/.DS_Store</Item>
<Item>*/.fseventsd/</Item>
<Item>*/.Spotlight-V100/</Item>
<Item>*/.TemporaryItems/</Item>
<Item>*/.Trashes/</Item>
</DefaultExclusionFilter>
- Posts: 2451
- Joined: 22 Aug 2012
Repeating xCSxXenon a bit more elaborate:
The default (Exclude) Filter settings are stored in the GlobalSettings.xml file, in the
<DefaultExclusionFilter> section of that xml file.
The default Include Filter seems to always be * (everything).
So, making changes to the <DefaultExclusionFilter> section of the GlobalSettings.xml file only takes effect on new sync configurations, not on existing (saved) ones. Which makes perfect sense to me.
Therefore, if you want all your new FFS sync configurations to comprise your 3 added Exclude Filter items, you better check if they are in the GlobalSettings.xml <DefaultExclusionFilter> section, and if not, add them there.
The default (Exclude) Filter settings are stored in the GlobalSettings.xml file, in the
<DefaultExclusionFilter> section of that xml file.
The default Include Filter seems to always be * (everything).
When you define (and save) a new FFS sync configuration file (as *.ffs_gui or *.ffs_batch), it takes the default Exclude Filter rules as per the GlobalSettings.xml file (at the time of opening the FFS GUI) and saves those, along with any changes made to the Include and Exclude Filter settings, in your *.ffs_gui or *.ffs_batch configuration file (in the <Filter> section of those files).While everything else seems initialised after deleting GlobalSetting.xml, my default Filters are different; they now do include the 3 Filters I added earlier ...This is good, but it seems that Filters are stored elsewhere than GlobalSettings.xml …
So, making changes to the <DefaultExclusionFilter> section of the GlobalSettings.xml file only takes effect on new sync configurations, not on existing (saved) ones. Which makes perfect sense to me.
Therefore, if you want all your new FFS sync configurations to comprise your 3 added Exclude Filter items, you better check if they are in the GlobalSettings.xml <DefaultExclusionFilter> section, and if not, add them there.
- Posts: 16
- Joined: 26 Jun 2021
Thanks.
I had deleted EVERYTHING in ~/Library/Application Support/FreeFileSync, the folder was completely empty. NO GlobalSettings.xml, NO LastRun.ffs_gui, etc.
Then I restarted FFS, and a new GlobalSettings.xml was created.
So my previous 3 new filters must have been stored somewhere else; otherwise, how could they have ended up in the new GlobalSettings.xml …
Anyway, be that as it may, I'm fine, I'll just use FFS ;)
I had deleted EVERYTHING in ~/Library/Application Support/FreeFileSync, the folder was completely empty. NO GlobalSettings.xml, NO LastRun.ffs_gui, etc.
Then I restarted FFS, and a new GlobalSettings.xml was created.
So my previous 3 new filters must have been stored somewhere else; otherwise, how could they have ended up in the new GlobalSettings.xml …
Anyway, be that as it may, I'm fine, I'll just use FFS ;)
- Site Admin
- Posts: 7212
- Joined: 9 Dec 2007
Now also possible via GUI: viewtopic.php?t=8503#p30737you better check if they are in the GlobalSettings.xml <DefaultExclusionFilter> section, and if not, add them there. Plerry, 14 Jul 2021, 09:53