0
votes

I have directory where is about 100 000+ subdirectories. In every subdirectory is from one to ten files. All files are images with content type = image/jpeg.

Together this files have size over 54 GB. Is there any chance to upload this files with structure

/orders/1000000003/12345468878.jpeg.

I know that BLOB is not hierarchical. I don't have Windows, i don't have Powershell, i don't have Visual Studio.

Any suggestions?

2
What operating system are you using? - Gaurav Mantri
MacOS - Macbook - Applu. - 3y3skill3r
Hierarchical structure already solved in stackoverflow.com/questions/3183857/… - Robert Simon
You're asking for... a tool recommendation? General approaches? Opinions? Tool recommendation questions and opinion-soliciting questions are unfortunately off-topic for StackOverflow. - David Makogon
No, i am looking for a way, how to do this. There is lot of problems with classic methods with software MASE, CyberDuck... There are problems with API too. Performance is really low, when i am trying to use PHP and libraries from Microsoft Github. - 3y3skill3r

2 Answers

-1
votes

Use the full path of your files as blob names. To upload from Linux or Mac, you can use Azure CLI (available as an NPM package).

-2
votes

Even though the structure is not hierarchical, you can "emulate" directories by adding /'s to the path name.

There are multiple clients available for Mac that support Azure Storage; my favorite is Cyberduck: https://cyberduck.io/ (free)