Page 1 of 1
recursive
Posted: Mon May 25, 2009 12:39 pm
by mfeske
Hello,
is therie a switch in nconvert to works rekursive and than make the same folder in the tarket folder?
example:
pictures from c:\input an c:\input\01 to c:\output an (make self) c:\output\o1?
Greetings
Michael
Re: recursive
Posted: Tue May 26, 2009 6:32 am
by xnview
no

Re: recursive
Posted: Tue May 26, 2009 11:43 am
by mfeske
both no

or only the directory problem no?
but it´s a nice tool

Re: recursive
Posted: Tue May 26, 2009 2:10 pm
by xnview
i don't understand the problem for target folder?
Re: recursive
Posted: Tue May 26, 2009 4:47 pm
by mfeske
Hello Pierre,
my problem is, I will work with the following files as source, for example:
c:\eingang\test.jpg and c:\eingang\test\test.jpg
if the target folder is the same one is overwriting the other.
if it possible to write the path in the target folder theire isn´t a problem.
for example
c:\ausgang\test.jpg and c:\ausgang\test\test.jpg
greetings
micha
Re: recursive
Posted: Wed May 27, 2009 9:08 am
by xnview
mfeske wrote:
if it possible to write the path in the target folder theire isn´t a problem.
for example
c:\ausgang\test.jpg and c:\ausgang\test\test.jpg
Oh ok, like 'keep folder structure' in XnView? So no option...
Re: recursive
Posted: Thu May 28, 2009 6:46 am
by mfeske
then of course it is a pity
Gruß
Micha
Re: recursive
Posted: Tue Jun 02, 2009 10:47 am
by hjklzxcva
hi
You can follow this sample
---------------------------------------------------
nconvert -jpegtrans exif -out jpeg *.jpg
FOR /D /R %%a IN (*) DO nconvert -jpegtrans exif -out jpeg %%~sa\*.jpg
---------------------------------------------------
It's like recursive function
Re: recursive
Posted: Tue Jun 02, 2009 1:37 pm
by mfeske
hjklzxcva wrote:hi
You can follow this sample
---------------------------------------------------
nconvert -jpegtrans exif -out jpeg *.jpg
FOR /D /R %%a IN (*) DO nconvert -jpegtrans exif -out jpeg %%~sa\*.jpg
---------------------------------------------------
It's like recursive function
Hello hjklzxcva,
thanks for your answer, can you help me and explain, how does it works?
Greetings
Michael
Re: recursive
Posted: Tue Jun 16, 2009 12:56 pm
by mfeske
Hello I have make some changes in the batch for my special thinks but it works not

only the file in the first folder is convertet and copying to the correct position
Code: Select all
h:\vetmed_converter\script\exe\nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o H:\04_target_m\ch_%%_m.jpg -dpi 300 -ratio -rtype lanczos -rflag orient -resize 500 0 -wmfile "h:\vetmed_converter\logo\in_use\picture\ch_vetsuisse_m.tif" -wmpos -10 -10 -wmflag bottom-right -wmopacity 70 h:\ch\*.jpg
FOR /D /R %%a IN (*) DO h:\vetmed_converter\script\exe\nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o %%~sa\ch_%%_m.jpg -dpi 300 -ratio -rtype lanczos -rflag orient -resize 500 0 -wmfile "h:\vetmed_converter\logo\in_use\picture\ch_vetsuisse_m.tif" -wmpos -10 -10 -wmflag bottom-right -wmopacity 70 h:\ch\*.jpg
pause
exit
Can you help me?
Greetings
Micha