+ pdfCompressor

This commit is contained in:
committer
2024-07-18 15:47:03 -05:00
parent 352ab0c729
commit af7e4dcefb

View File

@@ -204,6 +204,11 @@ alias notesArchiver='/home/poq/syncDir/gitRepos/git.mz.fo/miniProjects/2306_note
alias toJpg='/home/poq/syncDir/gitRepos/git.mz.fo/miniProjects/2306_toJpg/toJpg.sh' alias toJpg='/home/poq/syncDir/gitRepos/git.mz.fo/miniProjects/2306_toJpg/toJpg.sh'
alias gpxImporter='python /home/poq/syncDir/gitRepos/git.mz.fo/miniProjects/2308_gpxImporter/importer.py' alias gpxImporter='python /home/poq/syncDir/gitRepos/git.mz.fo/miniProjects/2308_gpxImporter/importer.py'
pdfCompressor() {
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.5 -dPDFSETTINGS=/ebook \
-dNOPAUSE -dQUIET -dBATCH -sOutputFile=$1.compressed.pdf $1
}
# --- # ---
# ajp related # ajp related
# --- # ---