Batch-Job only on JPG-Files?

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
Hausmeister2000
Posts: 2
Joined: Tue Jan 18, 2011 5:04 am

Batch-Job only on JPG-Files?

Post by Hausmeister2000 »

Hi,
i tried to convert several files in a folder structure. These files are from the type jpg and orf (olympus raw format). But when i select the folder to convert all the files, the dialog only adds the jpg-files to the batch job. Any ideas?

Heiko
Hausmeister2000
Posts: 2
Joined: Tue Jan 18, 2011 5:04 am

Re: Batch-Job only on JPG-Files?

Post by Hausmeister2000 »

I now found a solution with nconvert and a batch file:

Code: Select all

xcopy C:\temp\test C:\temp\test_output /e /v /s /exclude:no_copy.txt

for /R C:\temp\test_output %%I IN (*.*) do C:\Programme\XnView\nconvert -overwrite -resize 1920 1080 -ratio -out jpeg -D %%I
The xcopy command copys all files from "test" to "test_output" excluding folders and filetypes named in "no_copy.txt".
The complete folder structure in "test_output" is the same as in "test" after xcopy finished.
The for command runs through the new folder structure and converts all files to jpg and overwrites existing jpgs and deletes all other filetypes (for example olympus raw).

Greets
Heiko
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: Batch-Job only on JPG-Files?

Post by marsh »

Like you first reported, I don't see orf files included in listing for <add folder> button (unlike cr2, nef). All appear in list by highlighting items in browser's file list + <ctrl + u>.
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch-Job only on JPG-Files?

Post by xnview »

Pierre.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: Batch-Job only on JPG-Files?

Post by marsh »

orf now appears in list. v.1.98.b1
Post Reply