Download unzip.sh from TaxonomyProject/SimulationImage: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/datasets/TaxonomyProject/SimulationImage/resolve/f6cf63675f353ec07377ec503218f30cd4bf9563/unzip.sh
- Command line
-
hf download hf://datasets/TaxonomyProject/SimulationImage@f6cf63675f353ec07377ec503218f30cd4bf9563/unzip.sh
-
curl -L -o unzip.sh https://huggingface.co/datasets/TaxonomyProject/SimulationImage/resolve/f6cf63675f353ec07377ec503218f30cd4bf9563/unzip.sh
351 Bytes
| for folder in jiawei zehan luoxin placement additional; do | |
| cd $folder | |
| for f in *.zip; do | |
| dir="${f%.zip}" | |
| if [ -d "$dir" ]; then | |
| echo "Skipping $f (folder $dir already exists)" | |
| continue | |
| fi | |
| echo "Unzipping $f..." | |
| mkdir -p "$dir" | |
| unzip -q "$f" -d "$dir" | |
| done | |
| cd .. | |
| done |