I have a folder containing files of the format file(0).jpg to file(100).jpg
I can't directly use convert to generate a pdf here because the order ends up being 0,1,100,2,20,21,...
echo *.jpg(n) gives the correct order of files.
how do I pipe this into convert?
I have tried
echo *.jpg(n) | convert - out.pdf