XPS batch & convert to PDF
Hi there,
I have some XPS files, which I used to convert to PDF via the console without any problems with xpstopdf. Since the update to Ubuntu 16.04 (Kernel version: 4.4.0-59-generic) there are some converting problemlos, so I tried mupdf. The results are much better.
But: Unfortunately, I can't batch XPS files. It doesn't work neither with xpstopdf nor with mupdf → mutool draw -Fpdf.
Normally, we put an asterisk, but both commands mutool draw -Fpdf *.xps or xpstopdf *.xps don't convert all the XPS files I have in a folder.
Does anyone have an idea, how I can batch several XPS-files at once?
Thank you in advance for your help!
Regards,
Chipy
Re: XPS batch & convert to PDF
does a for loop work?
Code:
for blah in *.xps; do mutool draw -Fpdf "$blah"; done