#!/bin/bash
folder = "selecta/Archive/"
cd /var/www/html/"$folder"
mkdir thumb

for f in *; do
   cp "$f" ./thumb/"$f" 
done

cd thumb

for f in *; do
   convert "$f" -resize 90% "$f"
done
