Recently downloaded a fairly large dataset that I wanted to subset according to a bounding box. This is a bucket of 40GB+ images, and I still need to upgrade the storage on my laptop. I’m traveling, so I don’t have all my portable storage, so I wondered the best approach. I don’t know if I found that, but I did find a good enough approach: mount-zip.
I’m running on pop-os, so I merely needed to follow the directions to install:
sudo apt install libboost-container-dev libicu-dev libfuse-dev libzip-dev libboost-container-dev libicu-dev libfuse-dev libzip-dev
git clone https://github.com/google/mount-zip
cd mount-zip/
make
sudo make install
Using it wasn’t too hard either:
cd ~/Downloads
mount-zip zipfilename.zip zipfile_mount
cd zipfile_mount
Now I can do operations on this directory, in this case, extracting a contiguous subset of the data:
