Upload Cache - empty directories?

After watching the file tree in my cached remote upload cache directory, it seems to upload files as expected after the idle time is reached, but leaves behind the empty directories.

Are these cleaned up at any point?

A good question that I don’t know the answer to! @remusb ?

Guess it’s not super important but I was monitoring the cache to confirm it’s all working as expected and noticed a growing tree of old directories is all!
I also noticed trying to use a crypt mount wrapper around this tree didn’t work well at all.

# tree /home/htpc/.cache/rclone/cache-upload -D --du -hC
/home/htpc/.cache/rclone/cache-upload
├── [ 60K Feb 15 21:02]  5d8b8ektqup7hrju14dgpr5ehc
│   ├── [4.0K Feb 15  0:19]  1kt8lck6csq9kmjq77sc0a3kpg
│   ├── [4.0K Feb 15 18:20]  3a6k65o7rsfjpjhjr96udcrh9i4vduudab9pq2ug7ffm8npinl70
│   ├── [4.0K Feb 14 20:46]  8a7lhntscvjdn8h31m64200cfn0ht4ijqkbr0gh8bjtra2vunaoc017q4u18gl70mlqu8d9fldjee
│   ├── [4.0K Feb 14 20:48]  ajvdoouih58ohkf7n51n5llt0bjrr42g91cgqvihuvginsdqj0t0
│   ├── [4.0K Feb 14 20:23]  bjbodvv5p1bfqivmb1j7v2cr19gljd9ctcks6j4faofhlgvifo7g
│   ├── [4.0K Feb 14 23:10]  buspcip2o8ko9kc90jra876ai7g0l2jufhpcqicp1ipksu0jmq3g
│   ├── [4.0K Feb 15 10:07]  g1j4dnovghkrb7t4aqc29vi07acmced70rq8019r8cmag380730io23pt839mqm9o4satqq9nab4s
│   ├── [4.0K Feb 14 21:16]  ihdjehahl28jktr70c8uk7l739ck1ufe153h66qrvfi42v8n2hg539hboloinsfsvbhgrtlnagvp4
│   ├── [4.0K Feb 14 20:40]  l5i4lg89b2pvmeml37vu4ks7m4
│   ├── [4.0K Feb 14 20:56]  m773a17lut2uqutlaaoqh52cd78iihbahnkjdpmrnu4eehh0lrgg
│   ├── [4.0K Feb 15  1:34]  mju31h2tbqr1mkjl34am6cipq221f1c0f7qa6dr59auoklj6ve7sa0ksqmehtdihs87189s727rq449t6okv08phea83rt0jp7kah0o
│   ├── [4.0K Feb 14 20:56]  nl8kanqe32hrr3mt6ills184ci2am8s9s1v49dljghq7b4ea1k1cs55mg3k5cb32jca70heiehhqi
│   ├── [4.0K Feb 14 20:17]  uddsjtmp59iomlpi219epl4a98ee5v8178c73du3mpevs3s65s60
│   └── [4.0K Feb 15 21:25]  vhd01fnk07jsjansv3dlspg7mgi1gsfjpemvf3gsb30a8a5cddvg
├── [ 43M Feb 15 14:15]  bftai5ut05bf1j3dkhildn2dgc
│   ├── [4.0K Feb 15 14:30]  u2annhkqkft7p6tarvd9u9ljuo
│   └── [ 43M Feb 16 16:26]  u9gcf044sfqbho5femfdqrq1gc
│       └── [ 43M Feb 16 16:36]  u1sbvb8s3kem0fp63hked3d3v2h9dcksg60a3s1qlh3omt7npbujkajqkmpsi09fcrje6hq46v7b9v4fquh5ovnai4je1c18aatbi00
└── [ 28K Feb 16  0:04]  dggdoar82340bl4k78kghr954c
    ├── [4.0K Feb 14 17:27]  4d4ab3548vpvl0lee79k5hcme4
    ├── [4.0K Feb 14 23:57]  bbic69ienebr24uku47fgqtmgg
    ├── [4.0K Feb 15  7:14]  gtnc8r02gkcmmgcvmcptb3376pvi31698bgjp54u2uvbdnnmorq0
    ├── [4.0K Feb 15 16:25]  ikoea0nfciqredtm4c1jf6rcjo
    ├── [4.0K Feb 15  8:32]  iob4hkqg0drj0q6rb4nk0dku94
    └── [4.0K Feb 16  0:22]  ou3h8l9vdohbj7le9m5qa1ql4fbsqf7jj66uvstfq674dn95ahq0

Still looks to be stale, I dare not touch it in case the database wants them around to know which uploads are still queued!