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