# pdftool documentation
## codename : maimouna
## Overview
pdftool (version 1.0.2) is a versatile Linux command-line utility designed to manipulate PDF files. With pdftool, you can perform a wide range of actions such as compressing, rotating, numbering, concatenating, extracting, including, excluding, encrypting, decrypting, bursting, stamping, getting info ... on PDF files.
## Requirements
### Supported Actions
The following actions are supported by pdftool:
--extract
--number
--concat
--compress
--rotate
--include
--exclude
--stamp
--burst
--encrypt
--decrypt
--info
--doc
--help
--version
### Supported Options
These are the options that can be used with the actions:
--input
or -i
--from
or -f
--to
or -t
--source
or -s
--destination
or -d
--after-page
or -a
--level
or -l
--cardinal
or -c
--scope
or -s
--output
or -o
Note: When executing an action, at least one option must be provided (except for --help
, --doc
, and --version
).
#### Example Usage
pdftool --extract --input <pdf-file.pdf> --from 1 --to 2 --output <new-pdf.pdf>
## Usage Synopsis
pdftool [action] || [action] [option] [argument(s)] [option] [argument(s)]
## Options and Examples
### --extract
Extract pages from a PDF file.
pdftool --extract --input <pdf-file.pdf> --from 1 --to 2 --output <new-pdf.pdf>
### --number
Add page numbers to a PDF.
pdftool --number --input <pdf-file.pdf> --output <new-pdf.pdf>
### --concat
Concatenate multiple PDF files.
pdftool --concat --input <pdf-file1.pdf> <pdf-file2.pdf> --output <new-pdf.pdf>
### --compress
Compress a PDF file.
pdftool --compress --input <pdf-file1.pdf> --level 4 --output <new-pdf.pdf>
### --rotate
Rotate pages in a PDF file.
pdftool --rotate --input <pdf-file1.pdf> --cardinal east --output <new-pdf.pdf>
### --include
Include a PDF file into another.
pdftool --include --source <pdf-file1.pdf> --destination <pdf-file2.pdf> --after-page 2 --output <new-pdf.pdf>
### --exclude
Exclude specific pages from a PDF.
pdftool --exclude --input <pdf-file1.pdf> --from 3 --to 5 --output <new-pdf.pdf>
### --stamp
Stamp a PDF with a specific scope.
pdftool --stamp --input <pdf-file1.pdf> --scope confidential --output <new-pdf.pdf>
### --burst
Burst a PDF file into individual pages.
pdftool --burst --input <pdf-file1.pdf> --output <new-template-name.pdf>
### --encrypt
Encrypt a PDF file.
pdftool --encrypt --input <pdf-file.pdf> --output <new-pdf-encrypted.pdf>
### --decrypt
Decrypt a PDF file.
pdftool --decrypt --input <pdf-file.pdf> --output <new-pdf-decrypted.pdf>
### --info
Get some info about an input PDF file.
pdftool --info --input <pdf-file.pdf>
### --doc
View the documentation.
pdftool --doc
### --help
Get help on using pdftool.
pdftool --help
### --version
Check the current version of pdftool.
pdftool --version
## Execution Assurance
To ensure successful execution, the command must follow the specified preconditions. Each action must be accompanied by the appropriate options and arguments in the correct sequence, as outlined above.
## Notes
pdftool depends on several external programs. These dependencies are included in the global package of pdftool. Once an action like --encrypt
is called, the order of subsequent options is flexible.
## Authors and Contributors
Author:
Baldé Amadou (baldeuniversel@protonmail.com)
Contributor:
Diallo Ismaila (diallois@protonmail.com)
This documentation aims to provide comprehensive guidance on using pdftool effectively.
For any request, write to me via this email address : (baldeuniversel@protonmail.com)
The github link of the program : (https://github.com/baldeuniversel/pdf-tool.git)
You are about to open
Do you wish to proceed?
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Snap can be installed on elementary OS from the command line. Open Terminal from the Applications launcher and type the following:
sudo apt update
sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To install pdftool, simply use the following command:
sudo snap install pdftool
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.