Anciennes révisionsLiens de retourExporter en PDFHaut de page Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer RedditDerniers changementsSend via e-MailImprimerPermalien × antiword http://www.winfield.demon.nl/ #! /usr/bin/bash # [[rtf2txt]] Script to automatically convert word doc or rtf files to plain txt files # Usage: # Required: antiword # apt-get antiword # # Authors: # FR, radeff@akademia.ch # History # 2008.11.18: FR, created ######### echo "Script to automatically convert word doc or rtf files to plain txt files" echo "************" WD=pwd echo "Now converting all files under" .$WD declare -i j j=0 find . -name "*.doc" -o -name "*.rtf" -o -name "*.DOC" -o -name "*.RTF" | while read i do j=$j+1 echo "$j Converting wvText $i TO $i.txt" antiword "$i" "$i.txt" done echo "************" #echo "Finished, $k files converted" echo "Finished, all files converted" info/antiword.txt Dernière modification : 2018/07/18 09:45de radeff S'identifier