blob: ca5c42799f94ae309fb133b2984e3eb48a9f2f5c (
plain) (
blame)
1
2
3
4
5
6
|
#!/bin/bash
echo "Got file: $1" >> /tmp/pdf-debug.log
echo "File exists: $(test -f "$1" && echo yes || echo no)" >> /tmp/pdf-debug.log
echo "File size: $(wc -c < "$1" 2>/dev/null)" >> /tmp/pdf-debug.log
cp "$1" /tmp/mutt_pdf_$$.pdf
zathura /tmp/mutt_pdf_$$.pdf
|