#!/bin/bash

# Loop through each entry in the current directory
for entry in *; do
  # Check if the entry is a directory (not a file or symbolic link)
  if [[ -d "$entry" ]]; then
    # Zip the directory using its name as the archive name
    zip -r "$entry.zip" "$entry"
    echo "Zipped folder: $entry"
  fi
done

