Update 2023-01-01 10:16 OpenBSD/amd64

This commit is contained in:
c0dev0id
2023-01-01 10:16:54 +01:00
parent 9973497013
commit 6a461712ba
13 changed files with 73 additions and 14 deletions

View File

@@ -43,7 +43,7 @@ fi
[ -z "${_name}" ] \
&& error_exit "Filename not set"
cd "${HOME}/website/site/photos"
cd "${HOME}/website/photos"
gallerydir="$((echo NEW; find * -mindepth 0 -maxdepth 0 -type d; ) \
| fzf --prompt "Directory> " \
@@ -80,6 +80,7 @@ else
convert "${_imgpath}" "${gallerydir}/${_name}.jpg"
fi
jhead -q -autorot "${gallerydir}/${_name}.jpg"
jpegoptim -w 12 --all-progressive --strip-all "$gallerydir/${_name}.jpg"
echo -n "Add image description? [y/N]: "