Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

szapp/pdfUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF command-line utilities

Collection of useful shell scripts for quickly modifying pdf files from command-line.

Features

  • Add page numbers on each page of either a A4 pdf document or on typical pdf presentation slides
  • Easily write any text anywhere on a A4 pdf
  • Sign A4 pdfs with your signature with one easy command (requires the file ~/templates/signature.png to exist)

Requirements

Usage

  1. Clone or download this repository.
  2. Start the terminal and navigate to the scripts.
  3. You may have to set the scripts to executable.
$ chmod +x addpagenum.sh addpagenumSlides.sh signpdf.sh writeonpdf.sh

Execute any command without parameters to retrieve the usage information. The scripts are short and intuitive and will offer more information on parameters settings.

$ ./writeonpdf.sh
Usage: writeonpdf.sh text document coord-x coord-y [scale] [quiet]
Coordinates of center
$ ./signpdf.sh
Usage: signpdf.sh document coord-x coord-y [scale]
Coordinates from center
$ ./addpagenum.sh
Usage: addpagenum.sh document [offset]
$ ./addpagenumSlides.sh
Usage: addpagenumSlides.sh document [offset]

About

Collection of useful shell scripts for quickly modifying pdf files from command-line.

Topics

Resources

License

Stars

Watchers

Forks

Languages