![](https://seccdn.libravatar.org/avatar/99ae7bae9cfd05848b6d93356089f735.jpg?s=120&d=mm&r=g)
Am 14.03.2016 um 13:31 schrieb Carlos E. R.:
On 2016-03-14 11:49, Benjamin wrote:
And if I want to shrink the size of a pdf I use:
gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -r150 -sOutputFile=Ausgang.pdf %U Will that keep the indexes (links?)
If you mean for example the table of content as links … yes it works for me… But does anyone know or post, how i could resolve the "Ausgang.pdf" to the variable name of the orignal pdf? This would be cool, because then i could shrink whole folders of pdfs and preserving the names of the files! (i know that this is a code question, but I am bad in coding ;) ) Best, Benjamin. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org