File size: 340 Bytes
a7fc1f3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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
|