Pol Hallen <debenv...@fuckaround.org> wrote:
> #!/bin/sh
> convert "$1" "${1/.jpg/.pdf}"

> Now, I'd like convert any files to pdf (like png, txt, etc.) but I
> don't how do.

CUPS has a PDF printer, so I can (for example) "lpr -P pdf
/tmp/stuff.txt". I'm not particularly suggesting you use CUPS for this
conversion, but you might like to take a look and see how it's handled
there.

Chris


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/oqmks7x6qp....@news.roaima.co.uk

Reply via email to