Alphabetical order while using wildcards

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: helmut, XnTriq, xnview

Post Reply
emancero

Alphabetical order while using wildcards

Post by emancero »

Hi,

I am using nconvert to convert gif files with a sequential file name (file001.gif, file002.gif...) to a multi-file pdf.

I am using a wildcard like this:
nconvert -multi -out pdf -o sigle.pdf file*.gif

I only want to be sure if the files will always be inserted in the pdf in the correct alphabetical order??

Until now this appears to be the case (I have tested it with about 400 gifs, consolidated in about 30 pdfs), but I only want to be sure, because I have to process thousands of images and will be making a script to automatically generate the pdfs.

Thanks in advance,

Eduardo
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Alphabetical order while using wildcards

Post by xnview »

emancero wrote:Hi,

I am using nconvert to convert gif files with a sequential file name (file001.gif, file002.gif...) to a multi-file pdf.

I am using a wildcard like this:
nconvert -multi -out pdf -o sigle.pdf file*.gif

I only want to be sure if the files will always be inserted in the pdf in the correct alphabetical order??

Until now this appears to be the case (I have tested it with about 400 gifs, consolidated in about 30 pdfs), but I only want to be sure, because I have to process thousands of images and will be making a script to automatically generate the pdfs.

Thanks in advance,

Eduardo
Currently the file are added following the command line, so perhaps a sort option will be needed...
Pierre.
Post Reply