I am trying to run the fallowing script. Where a user imputs a tag name and then it runs and show the exif data for that command. When I run it I I get this error Error: File format error.
echo "Enter the Tag name"
read tag_name
echo "Enter the file path"
read path
exiftool -"$tag_name" "$path" > ${now}.csv
Echo the command that you are running so you can see if it is correct.
If so, try running from the command line.
If the problem still occurs, post the file that gives the error and we'll be able to help more.
- Phil