# Mapilliary\_tools v0.10: How to use zip option?

**URL:** <https://forum.mapillary.com/t/mapilliary-tools-v0-10-how-to-use-zip-option/6746>\
**Category:** Command line tools\
**Created:** [February 8, 2023, 5:45pm UTC](https://forum.mapillary.com/t/mapilliary-tools-v0-10-how-to-use-zip-option/6746 "2023-02-08T17:45:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![southglos](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@southglos](https://forum.mapillary.com/u/southglos)\
**Post date:** [February 8, 2023, 5:45pm UTC](https://forum.mapillary.com/t/mapilliary-tools-v0-10-how-to-use-zip-option/6746/1 "2023-02-08T17:45:28Z")

</div>

Hi

I’m trying to update my uploading process to make use of the new ‘zip’ option, and I can’t quite figure out how it’s supposed to work. I’ve updated to v0.10.0.

I’m using “mapillary\_tools process _PIXPATH/FOLDER_”, which is happy, and generates the description .json file.

Then “mapillary\_tools zip _PIXPATH/FOLDER_ _ZIPPATH/FOLDER_”, which generates a zip file called _ZIPPATH/FOLDER_/mly\_tools\__etc_.zip - which contains all the jpg files, but not the .json file.

Then “mapillary\_tools upload _ZIPPATH/FOLDER_”, as per the docs at [GitHub - mapillary/mapillary\_tools: Command line tools for processing and uploading Mapillary imagery](https://github.com/mapillary/mapillary_tools/#zip-images)

This fails with` MapillaryFileNotFoundError: Description file ZIPPATH/FOLDER/mapillary_image_description.json not found. Has the directory been processed yet?` If I try giving it zip file itself, it fails with `MapillaryBadParameterError: The description path must be specified (with --desc_path) when uploading a single file`.

If I add --desc\_path _PIXPATH/FOLDER_/mapillary\_image\_description.json, it fails with `Nothing uploaded. Bye.`

What’s the correct sequence of commands to process a folder, generate the zip, and upload the zip, please?

PS: Why don’t I just keep using process/upload? Because the upload command does the prepare-as-a-zip stage, which takes around 10 mins for each sequence I upload, which means for 10 mins nothing is uploading. If I can pre-zip while the previous sequence is uploading, I can close that gap. Why do I care? Because I’ve a fairly slow upload speed, and I gather photos faster than I can upload them. I’ve _just_ (as in, yesterday) finished uploading sequences I took last summer, with the uploader running 24/7 since then.

---

_[View the full topic](https://forum.mapillary.com/t/mapilliary-tools-v0-10-how-to-use-zip-option/6746)._
