This repository includes two utilties:
-
pdfattach --- a Shell script (relies on pdfLaTeX) which creates a PDF file with a given set of files embedded into it as attachments.
-
extr.c --- C program for extracting the attachments from a PDF file. Use libmupdf to compile.