RE: Q: Mass Text convert Linux-DOS?
Jonathan,
The command /usr/vin/fromdos will convert text files from/to dos. I think
it might be easier to use than recode.
Good luck. -mk
> -----Original Message-----
> From: Christopher Mosley [mailto:cmosley@voicenet.com]
> Sent: Friday, March 30, 2001 12:18 PM
> To: Erik Steffl
> Cc: Debian List
> Subject: Re: Q: Mass Text convert Linux-DOS?
>
>
>
>
> On Thu, 29 Mar 2001, Erik Steffl wrote:
>
> > Jonathan Gift wrote:
> > ...
> > > I have a great many text files I have to convert from Linux to DOS
> > > format. I tries recode by hand once but it took hours.
> There has to be an
> > > automatic way.
> > ...
> > > for file in ~/documents; do
> > > recode latin1..ibmpc $file
> > > done
> >
> > find ~/documents -type f -exec recode latin1..ibmpc '{}' \;
> >
> > see man find
> >
> > don't forget to backup before you experiment!
> >
> > erik
>
>
> You can also recursively *zip* into directories using the the
> zip LF CR
> conversion options, then unzip. This is not really what zip
> is for and it is
> a problem if you are short on disk disk space but it a way to do what
> you want.
>
>
>
>
>
>
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> >
> >
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
Reply to: