vision-flan / unzip.sh
Vision-Flan's picture
Adding files
a7fc1f3
raw
history blame contribute delete
No virus
340 Bytes
export UNZIP_DISABLE_ZIPBOMB_DETECTION=TRUE
parant_folder=$1
folder="./$parant_folder/raw_dataset"
output_dir="./$parant_folder/raw_dataset"
# Loop through each zip file in the folder
for file in "$folder"/*.zip
do
# Extract the file to a directory with the same name as the zip file
unzip -o "$file" -d "$output_dir"
done