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.
(Created page with "== PDF Toolkit of pdftk from the command line == === History === # Worked will till somewhere in 18.04 ## Now must be a snap install ## <code>sudo apt install pdftk</code> ==...")
 
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
== PDF Toolkit of 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 apt install pdftk</code>


=== Purpose ===
#Worked well till somewhere in 18.04
##Now must be a snap install
 
<code>sudo snap install pdftk</code>
 
#You can add this symlink back in so that other apps can access pdftk as if it was in the normal/old location
 
<code>sudo ln -s /snap/pdftk/current/usr/bin/pdftk /usr/bin/pdftk</code>
 
===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>
# add a password
##<code>pdftk inputFileName.pdf output outputFileName.pdf user_pw actualPassword</code>
 
<br />

Latest revision as of 14:37, 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

sudo snap install pdftk

  1. You can add this symlink back in so that other apps can access pdftk as if it was in the normal/old location

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

Purpose

Manipulate pdf documents

Usage

Change password status

You need to know the password in both cases

  1. remove password
    1. pdftk inputFileName.pdf input_pw actualPassword output outputFileName_no_pw.pdf
  2. add a password
    1. pdftk inputFileName.pdf output outputFileName.pdf user_pw actualPassword