Re: [expert] wpd2sxw

2003-07-10 Thread Dave Sherman
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.
However, the good news is that there are utilities already written to do
at least part of the job for you. Check out this URL, you might find
what you are looking for. And maybe someone will be able to write a
script the automate the use of one of these tools, and be able to do
what you are looking for.
Here's the URL:
http://libwpd.sourceforge.net/
Enjoy!

--
Dave Sherman
MCSE, MCSA, CCNA
"In total we spend almost three years of our lives on the toilet. It's
natural and it's normal, so let's learn to say: 'Wow! That's a great
toilet!'" - Jack Sim, Restroom Association President

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] wpd2sxw

2003-07-10 Thread Greg Meyer
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


Re: [expert] wpd2sxw

2003-07-10 Thread Brent Hasty
On Thursday 10 July 2003 07:16 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.
>
> However, the good news is that there are utilities already written to do
> at least part of the job for you. Check out this URL, you might find
> what you are looking for. And maybe someone will be able to write a
> script the automate the use of one of these tools, and be able to do
> what you are looking for.
>
> Here's the URL:
> http://libwpd.sourceforge.net/
>
> Enjoy!
I understand, as illustrated in my letter the tool of choice is wpd2sxw it 
works sufficiently for my users needs the only trouble is it only works by 
hand feeding it one file at a time. I was just interested in bennifiting one 
of the script kiddies out there for making a neat little wrapper script that 
would allow a user to feed it say thier home directory and convert all thier 
legacy corel documents into the *.sxw file format while maintaining the 
hierarchy of thier tree.

maby Mike wants to make an easy few bucks?? ??
-- 
"The place of the material world in the universe is that of an exquisitely
beautiful precipitate or varied cloud-work in the universal Æther, determined
by a geometrical necessity" ~ Professor John G. Macvicar1870 ~

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com