Hi, I would like to filter out from sync any folder which does not have any children (i.e. empty), like "pruning" the folder tree.
I used to do this with rsync option -m ("-m prune empty directory chains from file-list").
Is there a way to achieve this with FFS?
Thank you
Regards
Exclude empty folder from sync
- Posts: 2
- Joined: 11 Apr 2021
- Posts: 2
- Joined: 11 Apr 2021
Just found the solution in the guide, sorry for the repeated question!
Answer is:
Example: Exclude empty folders
Set up a file size filter with a lower limit of 0 bytes. Both the time span and file size filters match files only, so this will exclude all folders. During synchronization however some excluded folders will still be synchronized if they contain at least one non-excluded item, i.e. when they are not empty.
Answer is:
Example: Exclude empty folders
Set up a file size filter with a lower limit of 0 bytes. Both the time span and file size filters match files only, so this will exclude all folders. During synchronization however some excluded folders will still be synchronized if they contain at least one non-excluded item, i.e. when they are not empty.