Combine any pdfs and images using right click in Gnome Nautilus 4.1
Select any files or folders, right click > "Combine PDFs". This will take all pdfs and images selected as well as those inside the subfolders. The resulting file is made concatenating the files in alphabetical path order. The name of the file is the same as the first file with the extension replaced by '.combined.pdf'
- Install nautilus-python using package manager
- Make sure
pdftkis installed - Add the python file to the extensions folder, shell script for the lazy ones:
mkdir ~/.local/share/nautilus-python
mkdir ~/.local/share/nautilus-python/extensions
cd ~/.local/share/nautilus-python/extensions
wget https://raw.githubusercontent.com/BinaryQuantumSoul/nautilus-pdf-combine/refs/heads/main/nautilus-pdf-combine.py
nautilus -q