ExifTool Forum

ExifTool => Developers => Topic started by: Mamo on November 08, 2014, 01:26:08 PM

Title: Problem with -stay_open and -w parameter
Post by: Mamo on November 08, 2014, 01:26:08 PM
Hello everyone.
Congratulations to the author because he has created a fantastic program.
I am trying to use the program with the -stay_open.
Everything is working properly.
I have a problem regarding the redirect:
I'm trying to convert the following command. Launched individually works (extract a preview and renaming it adding _preview.jpg):
exiftool -b -PreviewImage -w _preview.JPG -r IMG_1544.CR2
What should be the sequence of items to be included in the file arg.txt passed as an argument?
I tried with:
-b
-PreviewImage
-w
_preview.JPG
-r
IMG_1544.CR2
-execute

but the output is redirected to stdout and the file is not created IMG_1544_preview.jpg.
There is a case for limiting the use of the option -stay_open?

Sorry for my English. I'm using google translator :(
Title: Re: Problem with -stay_open and -w parameter
Post by: Mamo on November 08, 2014, 03:40:07 PM
I apologize  :-[ :-[ :-[, but I can not understand why now, without having made any changes, the output is redirected correctly.
The file is created correctly.
I am sorry to have wasted your time.
Title: Re: Problem with -stay_open and -w parameter
Post by: Phil Harvey on November 08, 2014, 05:12:59 PM
It would be nice to understand why it wasn't working before, but I'm glad it is working now.

- Phil