ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:54:01 AM

Title: Reading from stdin
Post by: Archive on May 12, 2010, 08:54:01 AM
[Originally posted by linuxuser on 2007-03-09 11:51:15-08]

I use the bash with Linux and would like do something like "echo $FILE | exiftool ..." What do I have to do, that exiftools reads the file from stdin?
Title: Re: Reading from stdin
Post by: Archive on May 12, 2010, 08:54:01 AM
[Originally posted by exiftool on 2007-03-09 13:55:36-08]

You do it like this:

Code:
cat $FILE | exiftool -

Check the "PIPING EXAMPLES" in the application documentation for more examples.

- Phil