diff --git a/dots/bash/.bashrc b/dots/bash/.bashrc index deae799..ca4a541 100644 --- a/dots/bash/.bashrc +++ b/dots/bash/.bashrc @@ -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 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 # ---