Folder Handling

Discuss new features and functions
Posts: 10
Joined: 25 Nov 2020

comprev

If I create an empty folder, that empty folder is not created during synchronization in the target location. If I put files in that folder, that folder will be created and the files placed into it in the target location.

If I delete a folder and its files, the files are deleted in the target location during synchronization, but the folder remains as an empty folder in the target location.

It would be nice to have an option to create/delete folders also when synchronizing, not just the files.
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

You have a filter setting causing this
Posts: 10
Joined: 25 Nov 2020

comprev

I won't deny that it's possible, but I looked and couldn't find it. Do you know which filter setting that would be?
User avatar
Posts: 2947
Joined: 22 Aug 2012

Plerry

An Include Filter * should also include empty folders (but don't use *: ).

FFS does not remove folders that have become empty, and I am not aware of any way to make FFS do that, other than via some external script.
Posts: 10
Joined: 25 Nov 2020

comprev

Thanks, Plerry.

I'll give that a try. Yea, I couldn't find a built-in way to do it either. So, my statement was more a feature request than anything.
Posts: 10
Joined: 25 Nov 2020

comprev

Plerry,

I've looked at this and that will include everything. There are only certain files that I want to include, but I don't know how to do that and include empty folders also without simply including everything then setting a large exclusion list for all the files I don't want synced. I think it would require an override option to include empty folders in the sync to do it without including all the files, except the one type I want synced, in the exclusion list. However, you have me pointed in the correct direction. Thanks.
Posts: 10
Joined: 25 Nov 2020

comprev

OK,
I did some testing and with the long exclusion list, it's mostly working. However, I have some jpg files I want to copy and some I don't. So, I added the specific jpg file name to the include list and excluded *.jpg in the exclusion list, but the specific entry in the include list doesn't override the exclude list.

I can do this by making 2 saved sessions, one for the general and one for the specific file name.
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

An Include Filter * should also include empty folders (but don't use *: ).

FFS does not remove folders that have become empty, and I am not aware of any way to make FFS do that, other than via some external script. Plerry, 03 Aug 2025, 14:22
Did we read different things? OP initially said empty folders aren't created on the destination until files are inside and that deleting a folder only deletes the contents in the destination. FFS definitely deletes empty folders, as long as they don't exist on the "source". I just tested it, FFS created and deleted an empty folder perfectly fine. I really don't understand how the original post and your seemingly irrelevant answer somehow worked out lol
Posts: 10
Joined: 25 Nov 2020

comprev

xCSxXenon,
You were right, it was my filter. I was trying to only copy *.xyz files, so empty folders were excluded from being deleted when I deleted all the files, even if the folder had been deleted on the source. The problem is that there are other types of files in those folders. So, I'm now syncing * in the include list and making a long list of exclusions. That has taken care of the problem.