Skip to content

Docker container that watches a folder for odd and even pdf files and merges them via pdftk

Notifications You must be signed in to change notification settings

tuxflo/docker-mergepdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-mergepdf

Docker container that watches a folder for odd and even pdf files and merges them via pdftk. Good for NAS systems like where installing a docker container is way more easy than building gcc-gcj and pdftk.

usage

The container expects a volume /srv/input as the folder that is watched and /srv/output as the folder for the merged file. The current syntax expects a file that ends with _o.pdf (for odd) containing the odd pages of a dualside scan and a file ending with _e.pdf for the even pages. As you can see in the executed script mergepdf.sh pdftk is called with the shuffle A Bend-1 parameter. That means one could first scan all odd pages than turn arround the whole staple of sheets and scan the even pages beginning with the last page.

About

Docker container that watches a folder for odd and even pdf files and merges them via pdftk

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published