Hi group,
Is there any linux utility to batch process and remove write/edit restrictions on a couple of pdfs? i have found some online web resources to unlock restricted pdf files but nothing yet to process entire folders containing restricted pdfs.
Kussh
http://pdfpirate.net allows you to download its script from GIT . you can edit the php script of the pdf pirate to process entire folder. very little modification required.
On Sun, Mar 14, 2010 at 4:49 AM, Kussh Singh kussh.singh@gmail.com wrote:
Hi group,
Is there any linux utility to batch process and remove write/edit restrictions on a couple of pdfs? i have found some online web resources to unlock restricted pdf files but nothing yet to process entire folders containing restricted pdfs.
Kussh
-- http://pdfpirate.net -- http://mm.glug-bom.org/mailman/listinfo/linuxers
On 3/14/2010 10:58 AM, Sanchit Gulati wrote:
http://pdfpirate.net allows you to download its script from GIT . you can edit the php script of the pdf pirate to process entire folder. very little modification required.
does this work for files with password protected edit ? Saw like setting security to "do not edit" when exporting from open office ?
On Sun, Mar 14, 2010 at 4:49 AM, Kussh Singhkussh.singh@gmail.com wrote:
Hi group,
Is there any linux utility to batch process and remove write/edit restrictions on a couple of pdfs? i have found some online web resources to unlock restricted pdf files but nothing yet to process entire folders containing restricted pdfs.
Kussh
-- http://pdfpirate.net -- http://mm.glug-bom.org/mailman/listinfo/linuxers
no idea. never tried the script
On Sun, Mar 14, 2010 at 11:29 AM, Saswata Banerjee < scrapo@saswatabanerjee.com> wrote:
On 3/14/2010 10:58 AM, Sanchit Gulati wrote:
http://pdfpirate.net allows you to download its script from GIT . you can edit the php script of the pdf pirate to process entire folder. very little modification required.
does this work for files with password protected edit ? Saw like setting security to "do not edit" when exporting from open office ?
On Sun, Mar 14, 2010 at 4:49 AM, Kussh Singhkussh.singh@gmail.com
wrote:
Hi group,
Is there any linux utility to batch process and remove write/edit restrictions on a couple of pdfs? i have found some online web resources
to
unlock restricted pdf files but nothing yet to process entire folders containing restricted pdfs.
Kussh
-- http://pdfpirate.net -- http://mm.glug-bom.org/mailman/listinfo/linuxers
Script seems to use pdf2ps and ps2pdf commands/programs. I was able to use these in a shell script to change the permissions. Only thing is that my method inflates the size of the pdf when graphics/binary data or unknown/special fonts are used in the pdf. In the rest of the cases of ordinary text pdfs, output pdfs are generally smaller in size.
password protected files must first be opened using pdftk and the password (owner or user as the case may be) and the password restrictions removed before they can be manipulated.
Without the password, pdftk cannot change any restrictions.
Kussh