From 0e4c711947a42f851a0625bb7215e2260de9e65e Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Fri, 8 May 2020 00:14:42 +0200 Subject: Added a log file for toPDF.sh. --- pdfs/toPDF.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pdfs') diff --git a/pdfs/toPDF.sh b/pdfs/toPDF.sh index a383c09..ac390a7 100755 --- a/pdfs/toPDF.sh +++ b/pdfs/toPDF.sh @@ -22,5 +22,6 @@ targetFile="${targetDir}/${sourceFile##*/}" targetFile="${targetFile%.*}.pdf" [ -d "$targetDir" ] || mkdir -p "$targetDir" -pandoc "$sourceFile" -o "$targetFile" +pandoc "$sourceFile" -o "$targetFile" > ~/logs/toPDF.log [ -n "$open" ] && "$READER" "$targetFile" & + -- cgit v1.2.1