Skip to content

1peter10/unwatermarkpdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

unwatermarkpdf

A simple bash script to remove annoying watermarks in PDF on Linux or compatible systems (confirmed to work with "Ubuntu on Windows"). Has an option to cut of pages at begining and end of your pdf. Requires: pdftk, sed, bash

Usage:

# Usage: ./unwatermarkpdf.sh FILENAME WATERMARK RANGE
# RANGE is optional, e.g. 3-r3 removes first two and last two pages of the pdf 

(For more RANGE syntax I refer to the "cat [<page ranges>]" part of the pdftk man page.)

Limitations:

  • does work with a path to the file you want to change, but the cleaned PDF will be placed in the folder you are in at the time of execution
  • one file at a time only

To Do:

  • bulk watermark removal (multiple files at once),
  • add a parameter for non destructive editing,
  • maybe rewrite this in something else, like python.

About

A simple script to remove annoying watermarks in PDF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages