ExifTool Forum

ExifTool => Developers => Topic started by: evilaro on September 04, 2012, 02:51:43 PM

Title: Result thumbnails in another Directory
Post by: evilaro on September 04, 2012, 02:51:43 PM
Hello:

I am using this code to extract the thumbnails from RAW (I hope it is correct)

exiftool.exe -PreviewImage -b -w   _Thumb.jpg DIR

I wonder if
DIR= "C:\MY_RAWS\TRIPS"

Could I put the thumbnails in another directory for example

ENDDIR="C:\MY_THUMBNAILS\MY_RAWS\TRIPS"
I could copy them and then erase the originals... but if it is a option, it would be helpfull.

Thanks

Emilio


Title: Re: Result thumbnails in another Directory
Post by: Phil Harvey on September 04, 2012, 06:05:18 PM
You can write to a different directory like this:

exiftool -previewimage -b -w c:\some\directory\%f_Thumb.jpg DIR

- Phil
Title: Re: Result thumbnails in another Directory
Post by: evilaro on September 04, 2012, 06:46:15 PM

Phil:

Thanks ... works perfect.

But as soon as we solve something, something else comes in..

I will be back. ;)

Thanks again

Emilio



Quote from: Phil Harvey on September 04, 2012, 06:05:18 PM
You can write to a different directory like this:

exiftool -previewimage -b -w c:\some\directory\%f_Thumb.jpg DIR

- Phil
Title: Re: Result thumbnails in another Directory
Post by: evilaro on September 05, 2012, 07:12:27 AM


Phil:

Let say I got this 2 raws in a folder.

1234567.CR2
1234567.ORF


They have equal name.

Extracting the thumbnail only extract one... or better.. the second one overwrites the first on (I think), is there a way

to get something that considers the extension?

1234567_CR2_Thumb.jpg
1234567_ORF_Thumb.jpg


Thanks

Emilio



Title: Re: Result thumbnails in another Directory
Post by: Phil Harvey on September 05, 2012, 08:11:10 AM
Hi Emilio,

You should try reading the -w option section of the application documentation (https://exiftool.org/exiftool_pod.html).

- Phil
Title: Re: Result thumbnails in another Directory
Post by: evilaro on September 05, 2012, 10:10:59 AM

Sorry Phil:

I should have looked there before...

Plenty of option...

Thanks

Emilio



Quote from: Phil Harvey on September 05, 2012, 08:11:10 AM
Hi Emilio,

You should try reading the -w option section of the application documentation (https://exiftool.org/exiftool_pod.html).

- Phil