13–12 -decrypt: Removing PDF Security Settings

13–12–1 Processing

Removes the password security from input files.

Note:
The security information that the input file has will not be carried over to the output PDF file.

13–12–2 Example of commands

[Executing example commands]

Removes the security from test.pdf and output it as out.pdf.

[Windows]

AHPDFToolCmd80.exe -decrypt -d C:\test\test.pdf pass123 -o C:\sav\out.pdf

[Linux]

AHPDFToolCmd80 -decrypt -d /home/antenna/test/test.pdf pass123 -o /home/antenna/sav/out.pdf

13–12–3 Folder settings: applied

You can perform batch processing by specifying the input folder with the -d parameter and the output folder with the -o parameter. Removes the security of PDF files in the input folder. Note that the output file will be output to the output folder with the same name as the input file name.

13–12–4 Parameters

No parameters.