Don't worry, baby jesus gets his love, i get a cookie and Toyata can feel all silly. Win / Wins all round eh?
This is actually possible!
Place 1 storage block. The block you desire to dump your inventory into.
Now place your X number of storage blocks you wish to transfer the items into. Link these using C and V. Your dumping storage block is the master.
On the slave blocks, you can "Add Pull". This means on every tick, you may pull an item from the master, at a quantity you specify. While the exact shop categories are not added to the pull list, you could make your own category specific slaves, and then pull again from them into singular item storage blocks.
This allows you to create a tree of storage blocks, all slaved to one another in whatever manner you please. Pulling different items at quantities.
The new UI allows you to "PULL ALL". This will transfer any and all blocks at a specified quantity per tick.
I'm quite sure
Bench has shown a ship before in his logic tutorials that shows a logic driven mining ship, that self categorises each ore and crystal into labeled storage blocks, then transfers the dirt and rocks into a drop pod with a timed explosive on it. All automated.