Modifying PDF file in place

Hi,

So I have many big PDF files attached to my entries. I find them in ~/Zotero/storage. My question is : can I modify them in place ? I was thinking of compressing some of them, using ghostscript or whatever. Will Zotero realize they've been modified (based on their hash e.g.) and sync accordingly ? Or do I risk losing data ? If so, how would you batch-compress your PDF files ?

Thanks in advance.
  • There's no risk of losing data. Zotero should typically realize that the file has changed and resync it (based on the file system's modified time).

    No good idea on compressing PDF files -- really depends on what you're after, too. If you have acrobat pro, the automation tools are quite good and easy to set up.
  • Thank you for your answer. To compress, I usually use the following command :

    gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf

Sign In or Register to comment.