basic structure; zsh default; no desktop assumed

This commit is contained in:
2021-11-14 11:40:27 +01:00
commit 1280d2360d
21 changed files with 1157 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/bin/zsh
function pdf_num_pages {
gs -q -dNOSAFER -dNODISPLAY -c "($1) (r) file runpdfbegin pdfpagecount = quit"
}
function pdf_extract_range {
yes | gs -q -dBATCH -sOutputFile="$4" -dFirstPage=$2 -dLastPage=$3 -sDEVICE=pdfwrite "$1"
}