On Thursday 10 July 2003 10:17 pm, Dave Sherman wrote: > Brent Hasty wrote: > > I need to convert a whole directory tree of files that are in Word > > Perfect Document format into OpenOffice files. > > I was hoping someone could help me with a small script file that will > > recursevly dive through a tree converting text.wpd to text.sxw leaving > > them in the same directory side by side using wpd2sxw > > Brent, > > Given that the WordPerfect document format is binary and proprietary, > like MS Word's is, I don't think anyone will be writing any simple > scripts to manage such a covnversion.
wpd2sxw that was mentioned by OP is a standalone app that uses libwpd to convert wpd files to OO.o format, therefore, the script part is easy. for i in ./*.wpd do wpd2sxw $i done or something like that -- /g "Outside of a dog, a man's best friend is a book, inside a dog it's too dark to read" -Groucho Marx
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
