recursive
Moderators: helmut, XnTriq, xnview
Re: recursive
both no 
or only the directory problem no?
but it´s a nice tool

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

Re: recursive
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
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
Oh ok, like 'keep folder structure' in XnView? So no option...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
Pierre.
Re: recursive
then of course it is a pity 
Gruß
Micha

Gruß
Micha
Re: recursive
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
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
Hello hjklzxcva,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
thanks for your answer, can you help me and explain, how does it works?
Greetings
Michael
Re: recursive
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
Can you help me?
Greetings
Micha


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
Greetings
Micha