Sysadmin's Garden of Eden Docs

Version 1337.42.0

Office

Convert all ‘*.docx’ files into PDFs using LibreOffice’s lowriter

find . -name '*.docx' -print0 |
    while IFS= read -r -d $'\0' line; do
        echo "FILE: $line"
        lowriter --convert-to pdf "$line" --outdir "$(dirname "$line")"
    done
Last updated on 17 Jun 2019 / Published on 31 May 2018