A utility to handle commonly done PDF related tasks..
pdf-utils will enable you to join a directory of PDFs into a singe large pdf.
To use this feature you run the command:
./pdf-utils join myPdfDirectory/ largepdf.pdf
To Be Added
pdf-utils will enable you to watermark pdfs.
Warning: this function will not work with very large PDFs
To use this feature you run the command
./pdf-utils watermark sourcepdf.pdf destinationpdf.pdf 'My watermark string here.'
- Create a directory to set up virtualenv and code.
- Run the command
mkdir pdf-utils
- Create a virtual environment using virtualenv and python3
- Run the command
virtualenv -p python3 pdf-utils
- Enter and activate the newly created directory.
- Run the command
cd pdf-utils - Run the command
source bin/activate
- Acquire pdf-utils
- Run the command
git clone https://github.com/mholiv/pdf-utils.git
- Install the dependencies in the virtual environment.
- Run the command
pip install click pypdf2
- Mark 'pdf-utils' as executable.
chmod +x pdf-utils
- Python 3.x
- Python package
virtualenv - Python package
click - Python package
pypdf2