Created
November 19, 2022 14:45
-
-
Save blurymind/6edfb9c144edbcd57e261719b231e5a7 to your computer and use it in GitHub Desktop.
combinePdfs.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# thunar file custom action /home/fox/INSTALL/combinePdfs.sh %F | |
# %F is full path to all selected files | |
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile="${1%.pdf}-combined.pdf" "$@" | |
notify-send "created ${1%.pdf}-combined.pdf file" | |
##convert -density 200 "$@" final.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment