Recurse subdirectories
Moderators: XnTriq, helmut, xnview
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
Recurse subdirectories
Is there a command line option in Nconvert that allows recursing subdirectories?
-
- Author of XnView
- Posts: 44304
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Recurse subdirectories
No, but good ideahelmut wrote:Is there a command line option in Nconvert that allows recursing subdirectories?
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
Re: Recurse subdirectories
Is this possible with the current NConvert version? I still don't know how to do this.helmut wrote:Is there a command line option in Nconvert that allows recursing subdirectories?
-
- Author of XnView
- Posts: 44304
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Recurse subdirectories
Sorry not.helmut wrote:Is this possible with the current NConvert version? I still don't know how to do this.helmut wrote:Is there a command line option in Nconvert that allows recursing subdirectories?
So you want to be able to do that:
nconvert -R -out bmp *.jpg to convert all jpg files in this folder and all subfolders?
Pierre.
-
- Posts: 2
- Joined: Mon Jan 10, 2005 1:41 pm
In a batch file under Windows XP I use
to convert all files including subdirectories
Code: Select all
for /R %%I in (*.*) do c:\programme\xnview\nconvert -npcd 2 -q 70 -size 256x256+0 -opthuff -rmeta -ctype grey -corder inter -out jpeg -o "J:\bild\%%~nI.jpg" -ratio -rtype lanczos -resize 800 800 "%%I"
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
Thank you for the batch sample. This is what I've been looking for.ingo wrote:In a batch file under Windows XP I use
for /R %%I in (*.*) do c:\programme\xnview\nconvert -npcd 2 -q 70 -size 256x256+0 -opthuff -rmeta -ctype grey -corder inter -out jpeg -o "J:\bild\%%~nI.jpg" -ratio -rtype lanczos -resize 800 800 "%%I"
to convert all files including subdirectories
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
Re: Recurse subdirectories
There's Ingo's batch sample, now, which might do what I want (still have to check).xnview wrote:So you want to be able to do that:
nconvert -R -out bmp *.jpg to convert all jpg files in this folder and all subfolders?
I think that a recurse subdirectry option in NConvert might be useful and powerful. But I'm not using NConvert a lot and this is just a guess.
-
- Posts: 40
- Joined: Wed Mar 22, 2006 1:08 pm
Re: Recurse subdirectories
Hello, I will praise nconvert, first. Also version 6.00, thanks for this tool.
Thanks Tom
The script helps me a lot, but all files from all dirs will be converted into the same target dir. I would like to have the same directory-structure at the destination directory. Any idea?for /R %%I in (*.*) do c:\programme\xnview\nconvert -npcd 2 -q 70 -size 256x256+0 -opthuff -rmeta -ctype grey -corder inter -out jpeg -o "J:\bild\%%~nI.jpg" -ratio -rtype lanczos -resize 800 800 "%%I"
Thanks Tom