Simple script to generate a PDF from a folder containing images.
PDF Merger
Usage:
merge <image-folder> <file-name>
Arguments:
<image-folder> The folder containing the images you want to merge as a PDF.
<file-name> The name you want for your PDF file.
Options:
-h --help Show this screen.
I recommend using a python virtual environment.
git clone [email protected]:Tazoeur/PDFMerger.git /opt/scripts/pdfmerger
cd /opt/scripts/pdfmerger
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
You can add the bash script to your bash aliases
echo "alias pdfmerge=\"/opt/scripts/pdfmerger/pdfmerger.sh\"" >> ~/.bashrc