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
recursive
Moderator: xnview
-
xnview
- Author of XnView
- Posts: 47518
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
mfeske
- Posts: 42
- Joined: Fri May 15, 2009 10:00 am
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
-
xnview
- Author of XnView
- Posts: 47518
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
mfeske
- Posts: 42
- Joined: Fri May 15, 2009 10:00 am
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
-
xnview
- Author of XnView
- Posts: 47518
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
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.
-
mfeske
- Posts: 42
- Joined: Fri May 15, 2009 10:00 am
Re: recursive
then of course it is a pity 
Gruß
Micha
Gruß
Micha
-
hjklzxcva
- Posts: 2
- Joined: Fri May 15, 2009 1:26 pm
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
-
mfeske
- Posts: 42
- Joined: Fri May 15, 2009 10:00 am
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
-
mfeske
- Posts: 42
- Joined: Fri May 15, 2009 10:00 am
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
exitGreetings
Micha