Mostly mutt config and some tidying
This commit is contained in:
parent
c249f1076f
commit
fbe30c1f8e
21 changed files with 987 additions and 24 deletions
11
bin/conversion/convert-to-pdf
Executable file
11
bin/conversion/convert-to-pdf
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
file=$(readlink -f "$1")
|
||||
dir=$(dirname "$file")
|
||||
base="${file%.*}"
|
||||
|
||||
cd "$dir" || exit
|
||||
|
||||
case "$file" in
|
||||
*\.doc|*\.docx) libreoffice --convert-to pdf "$file" ;;
|
||||
*) echo "Don't know how to convert $file"
|
Loading…
Add table
Add a link
Reference in a new issue