Re: doc to html from a cmdline?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steven W. Orr wrote:
I have about 75 doc files. If I bring one up in ooffice, I can save it
as a .html file with no problem. Is there a way to do it from the
command line? All this clickety is going to take me too long.
sudo yum install wv
for filename in `ls *.doc`;
  do
      htmlname=`echo $filename | sed -e 's/.doc/.html/g'`
      /usr/bin/wvHtml $filename $htmlname
  done;

Depending on what your Word files are, your conversion mileage may differ.

--
Sam

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux