diff --git a/Convention photos/rphoto b/Convention photos/rphoto index 04dc8c6..a185b8a 100755 --- a/Convention photos/rphoto +++ b/Convention photos/rphoto @@ -33,7 +33,7 @@ renameFromDirectoryWithExifOnly() #echo "$filename" if [[ $(jhead $filename | grep -c Date) == 1 ]]; then #echo "yop $filename" - jhead -n%Y%m%d-%H%M%S "$filename" + jhead -nIMG%Y%m%d-%H%M%S "$filename" else echo "$filename IGNORED" fi @@ -46,7 +46,7 @@ renameFromDirectory() do filename=$(basename $path) #echo "$filename" - jhead -n%Y%m%d-%H%M%S "$filename" + jhead -nIMG%Y%m%d-%H%M%S "$filename" done } @@ -62,7 +62,7 @@ elif [[ "$1" == "-f" && $# > 1 ]]; then for filename do if [[ "$filename" != "-f" ]]; then #echo "$filename" - jhead -n%Y%m%d-%H%M%S "$filename" + jhead -nIMG%Y%m%d-%H%M%S "$filename" fi done else @@ -70,7 +70,7 @@ else #echo "$filename" if [[ $(jhead $filename | grep -c Date) == 1 ]]; then #echo "yop $filename" - jhead -n%Y%m%d-%H%M%S "$filename" + jhead -nIMG%Y%m%d-%H%M%S "$filename" else echo "$filename IGNORED" fi