#! /usr/bin/bash
# [[word2html]] Script to automatically convert word doc files to html files
# Usage:
# Required: http://wvware.sourceforge.net/
# apt-get install wv
#
# Authors:
# FR, radeff@akademia.ch
# History
# 10 mai 2007, 20:25:45: FR, created
#########
echo "Script to automatically convert word doc files to html files"
echo "************"
WD=pwd
echo "Now converting all files under" .$WD
echo "************"
declare -i j
j=0
find . -name "*.doc" | while read i
do
j=$j+1
echo "$j Converting wvText $i TO $i.txt"
wvText "$i" "$i.txt"

done
echo "************"
#echo "Finished, $k  files converted"
echo "Finished, all  files converted"
 
info/word2html.txt · Dernière modification: 2008/11/11 11:37 (modification externe)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki