add PICDIR: individueller Bilderordner

This commit is contained in:
Gitea 2020-10-02 16:44:08 +02:00
parent 5b9d4abe21
commit 30b60c1d4a

View File

@ -8,12 +8,13 @@ echo "----------------------------------------------------------"
echo "AKAB = automatische Bild- anonymisierung und komprimierung"
echo "----------------------------------------------------------"
read -p "Dateiname: " FILENAME
read -p "Bilder Ordner: " PICDIR
NOW=$(date +"%Y_%m_%d")
mkdir -p out
convert -verbose -resize 1920x1080 -quality 60 in/* out/$FILENAME-$NOW.jpg
convert -verbose -resize 1920x1080 -quality 60 $PICDIR/* out/$FILENAME-$NOW.jpg
echo "----------------------------------------------------------"
echo "conver complete"
echo "----------------------------------------------------------"