What do I want?
I want to push some directories from my desktop to my android phone. The directories are empty, but the folder name contains important meta-data. The structure is not changeable.
What is the Issue?
If I try to push via adb, I get the following warning:
adb: warning: skipping empty directory
What have I tried?
As a workaround I could use the MTP protocol. But this protocol is not stable and crashes a lot, especially if you want to copy multiple files. I can't get it work on linux anyways, so adb seems to be the best choice.
My Questions
What is the reasoning to skip empty directories? It seems like an arbitrary (and annoying) design choice for me.
Is there a flag to NOT skip empty directories?
Is there a workaround?