IT/Software/Command Line Applications/PDF Toolkit: Difference between revisions

From msgwiki
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
No edit summary
No edit summary
Line 1: Line 1:
== PDF Toolkit or pdftk from the command line ==
==PDF Toolkit or pdftk from the command line==
=== History ===
===History===
# Worked will till somewhere in 18.04
## Now must be a snap install ##
<code>sudo snap install pdftk</code>


=== Purpose ===
#Worked well till somewhere in 18.04
##Now must be a snap install
##<code>sudo snap install pdftk</code>
##
 
<code>sudo ln -s /snap/pdftk/current/usr/bin/pdftk /usr/bin/pdftk</code>
 
<br />
 
===Purpose===
Manipulate pdf documents
Manipulate pdf documents
=== Usage ===
===Usage===
# change password status
 
## You need to know the password in both cases
#change password status
## remove password
##You need to know the password in both cases
##remove password
 
<code>pdftk inputFileName.pdf input_pw actualPassword output outputFileName_no_pw.pdf</code>
<code>pdftk inputFileName.pdf input_pw actualPassword output outputFileName_no_pw.pdf</code>
## add a password
 
##add a password
 
<code>pdftk inputFileName.pdf output outputFileName.pdf user_pw actualPassword</code>
<code>pdftk inputFileName.pdf output outputFileName.pdf user_pw actualPassword</code>

Revision as of 14:22, 14 February 2020

PDF Toolkit or pdftk from the command line

History

  1. Worked well till somewhere in 18.04
    1. Now must be a snap install
    2. sudo snap install pdftk

sudo ln -s /snap/pdftk/current/usr/bin/pdftk /usr/bin/pdftk


Purpose

Manipulate pdf documents

Usage

  1. change password status
    1. You need to know the password in both cases
    2. remove password

pdftk inputFileName.pdf input_pw actualPassword output outputFileName_no_pw.pdf

    1. add a password

pdftk inputFileName.pdf output outputFileName.pdf user_pw actualPassword