Mostly mutt config and some tidying

This commit is contained in:
Jonathan Hodgson 2019-06-05 17:58:43 +01:00
parent c249f1076f
commit fbe30c1f8e
21 changed files with 987 additions and 24 deletions

11
bin/conversion/convert-to-pdf Executable file
View 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"