shaarliGor
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
Convertir des ODT en PDF récursivement http://www.cyrille-borne.com/forum/showthread.php
Thu Dec 10 08:03:53 2015 archive.org

Sur le forum de cyrille borne.

Le script :

#!/bin/bash
REPER="$1"
CIBLE=".odt"
EXTS="pdf"

for i in "$(find "$REPER" -depth -type d )" ; do
    result_pdf="$(basename "$i")"    
# si on veut utiliser unoconv à la place de libreoffice    
# unoconv -f pdf ${i}/*$CIBLE ${result_pdf}$EXTS

libreoffice --headless --convert-to pdf *"$i"/*$CIBLE "$result_pdf"$EXTS --outdir "$i"/"$result_pdf"
veille production_documentaire LibreOffice odt pdf conversion
2572 links, including 10 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn