I read in Jacob's post that if a subdirectory is empty, we do not create it in the other directories to be synced. E.g. if we are syncing bettwen ~/dirA and ~/dirB, and there is an empty subdirectory ~/dirA/dirsub then ~/dirB/dirsub won't be created at all.
I was wondering if definition of "empty" means no directories AND no files. Let me outline my concerns with this example. E.g. we have ~/dirA/dirsub/dirsubsub/ where dirsubsub/ is empty (containing no subdirectories or files). we wouldn't create ~/dirB/dirsub/dirsubsub/ as it is empty, but now we end up with ~/dirB/dirsub that is empty so we wouldn't create it either. So if we have a bunch of subdirectories within subdirectories that ultimately contains no files, do we just not create the subdirectories in ~/dirB altogether?
The problem is if say there existed a file ~/dirA/dirsub/dirsubsub/thing.txt. We wouldn't be able to create ~/dirB/dirsub/ and ~/dirB/dirsub/dirsubsub/ until we confirm that the subdirectory of ~/dirA does in fact contain a file.
As I'm typing this, I realize that this is probably what we need to do, just need some clarification on if my understanding is correct.