Page 1 of 1

Alphabetical order while using wildcards

Posted: Mon Jan 14, 2008 10:36 pm
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

Re: Alphabetical order while using wildcards

Posted: Tue Jan 22, 2008 9:09 am
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...