Need to sync "empty" folders

Get help for specific problems
Posts: 6
Joined: 4 Jul 2017

TiGePa

Hi,

in our company someone uses FreeFileSync to sync our SharePoint. There are many sides with librarys to be synced.
All the librarys are named the same "\10_WORK", "\20_CONTROL", "\30_CLIENT". And every library has a SharePoint Folder in itself named "\forms" which shoudn't be synced.
Some of the librarys are empty, except of the "\forms" Folder (which has content).

The filter settings are as the following:
include: *\10_WORK, *\20_CONTROL, *\30_CLIENT
exclude: "standardsettings", *\forms

This settings only sync all the user content on the SharePoint. But only the user content and not the empty librarys.
For one-way-sync this is perfect. But not for two-way-sync. The empty librarys are needed for work.
How are the filters to be set to sync the "empty" librarys to.

The following Shows an example for the structure how it is shown in file-Explorer, FreeFileSync doesn't sync the librarys 20_CONTROL of the site A and the 10_WORK library of site B.
- start
- site A
- 10_WORK
- forms
- some SharePoint content

- File 1
- File 2

- 20_CONTROL
- forms
- some SharePoint content

- no user content
- 30_CLIENT
- forms
- some SharePoint content

- File 1
- site B
- 10_WORK
- forms
- some SharePoint content

- no user content

- 20_CONTROL
- forms
- some SharePoint content

- File 1
- File 2

- 30_CLIENT
-forms
- some SharePoint content
- File 1

I hope someone understands the problem and can help me.
(PS: OneDrive for Business in no option because of the limitations, there are more than 20.000 Elements to by synced)

Yours TiGePa
User avatar
Site Admin
Posts: 7050
Joined: 9 Dec 2007

Zenju

Maybe you can give a specific example of a folder path that is currently not synced and the filter settings active.
Posts: 6
Joined: 4 Jul 2017

TiGePa

Following the example in first post:
Source path set in FFS: spadress\
This is synced:

spadress\siteA\10_WORK\File1
spadress\siteA\10_WORK\File2
spadress\siteA\30_CLIENT\File1
spadress\siteA\20_CONTROL\File1
spadress\siteA\20_CONTROL\File2
spadress\siteA\30_CLIENT\File1

And this I want to have synced additional (to "empty" folders):

spadress\siteA\20_CONTROL\
spadress\siteB\10_WORK\
User avatar
Site Admin
Posts: 7050
Joined: 9 Dec 2007

Zenju

Why would these two not be synced?

spadress\siteA\20_CONTROL\
spadress\siteB\10_WORK\

Both match your include filter:
include: *\10_WORK, *\20_CONTROL, *\30_CLIENT
Posts: 6
Joined: 4 Jul 2017

TiGePa

That's the question.

If there is user generated content in the folder, it is synced. But only then.

But perhaps there is a missunderstandig.
I want to have the empty folders created on the target source (HDD on PC).

Following the example:
The two folders

spadress\sitA\20_CONTROL\
spadress\siteB\10_WORK\

aren't created on the target source. But I want, that they are created.
User avatar
Site Admin
Posts: 7050
Joined: 9 Dec 2007

Zenju

Whether the folders object itself is synced should not depend on its child items. As long as the folders are not excluded (which you can see on the main dialog) they should be synced.
Posts: 6
Joined: 4 Jul 2017

TiGePa

I tried to find which are the right filtersettings. So I tried to sync an empty folder from C:\ to D:\.
And even without any filtersettings FFS creates no empty folders.

Why not?
Posts: 291
Joined: 13 Apr 2017

Gianni1962

What synchronization variant are you using?
Using any of Two way, Mirror, Update, in their default configuration, empty folders are synced!
Posts: 6
Joined: 4 Jul 2017

TiGePa

I tried any of the three variants. But no one synced empty folders.
User avatar
Site Admin
Posts: 7050
Joined: 9 Dec 2007

Zenju

The main dialog has been made to answer exactly such questions. The middle column shows what will by synced, before it is done.
Posts: 6
Joined: 4 Jul 2017

TiGePa

Arrg,
I know the problem.
In the filtersettings there is also set the max file size up to 50 MB.
Without this limitation the empty folders will also be synced.

Is there any possibilty to sync the folders and set a max file size?
Posts: 3
Joined: 14 Sep 2022

gaviboy82

Hello, just stumbled across this post because I'm having the exact same problem. where a folder exists on the left but is empty its not being created on the right. what am I doing wrong?
For example, I have the following in the include section
*\DESIGN INFO\
So I expected the DESIGN INFO folder to be created even if empty
also tried
*\DESIGN INFO and *\DESIGN INFO\*
User avatar
Site Admin
Posts: 7050
Joined: 9 Dec 2007

Zenju

Posts: 3
Joined: 14 Sep 2022

gaviboy82

Thanks, I've actually come across another thread that put it down to a Timespan Filter, and as soon as I remove that, all the empty folders are magically included. No idea why, perhaps FFS isn't able to check the date a folder is created
Last edited by gaviboy82 on 14 Sep 2022, 09:14, edited 1 time in total.
Posts: 3
Joined: 14 Sep 2022

gaviboy82

Thanks, I've actually come across another thread that put it down to a Timespan Filter, and as soon as I remove that, all the empty folders are magically included gaviboy82, 14 Sep 2022, 09:13
If anyone is looking for it - see viewtopic.php?t=653&p=2456&hilit=include+empty+folders#p2456