thinking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-03-02 12:00:11 +03:00
parent 530e288108
commit 2c35c9077b

View File

@ -39,12 +39,20 @@ while true ; do
done done
_exifup(){
local PREVIEW_DIR=$1
if ! [ -e "$PREVIEW_DIR" ] ; then
return 1
fi
local imgs=(${PREVIEW_DIR}/*)
# XXX
}
# XXX add support for getting exif from raw... # XXX add support for getting exif from raw...
# ...this can lead to multiple hits, need a way to decide which # ...this can lead to multiple hits, need a way to decide which
# one to use... # one to use...
exifup(){ exifup(){
PREVIEW_DIR=$1 local PREVIEW_DIR=$1
if [ -e "$PREVIEW_DIR" ] ; then if [ -e "$PREVIEW_DIR" ] ; then
echo doing: `pwd` echo doing: `pwd`
exiv2 ex *.psd exiv2 ex *.psd