ExifTool Forum

ExifTool => Newbies => Topic started by: j99mac on November 02, 2021, 03:28:10 PM

Title: user imput tag
Post by: j99mac on November 02, 2021, 03:28:10 PM
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
Title: Re: user imput tag
Post by: Phil Harvey on November 02, 2021, 04:57:40 PM
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