add PICDIR: individueller Bilderordner
This commit is contained in:
parent
5b9d4abe21
commit
30b60c1d4a
3
akab.sh
3
akab.sh
@ -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 "----------------------------------------------------------"
|
||||
|
Loading…
x
Reference in New Issue
Block a user