Problem with -stay_open and -w parameter

Started by Mamo, November 08, 2014, 01:26:08 PM

Previous topic - Next topic

Mamo

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 :(

Mamo

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.

Phil Harvey

It would be nice to understand why it wasn't working before, but I'm glad it is working now.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).