News:

2023-08-10 - ExifTool version 12.65 released

Main Menu

Reading from stdin

Started by Archive, May 12, 2010, 08:54:01 AM

Previous topic - Next topic

Archive

[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?

Archive

[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