Sysadmin Garden of Eden Docs

Version 1337.42.0

Office


Table of Contents


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 22 Jul 2019
Published on 31 May 2018