Results 1 to 2 of 2

Thread: XPS batch & convert to PDF

  1. #1
    Join Date
    Mar 2012
    Beans
    64

    Question 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 mupdfmutool 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

  2. #2
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,573
    Distro
    Ubuntu

    Re: XPS batch & convert to PDF

    does a for loop work?

    Code:
    for blah in *.xps; do mutool draw -Fpdf "$blah"; done

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •