castacks / tartanair_tools

TartanAir dataset tools and samples
http://theairlab.org/tartanair-dataset
BSD 3-Clause "New" or "Revised" License
308 stars 33 forks source link

Extracting zip files #20

Open lebionick opened 3 years ago

lebionick commented 3 years ago

Hello I've downloaded dataset using https://github.com/castacks/tartanair_tools/blob/master/download_training.py and all files are in zip archives in subdirectories. I wonder if there is simple yet memory efficient solution to extract all of these archives.

YonatanSimson commented 1 year ago

Perhaps this will help:

find . -name "*.zip" | while read filename; do unzip -o -d "`dirname "$filename"`" "$filename"; done;