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

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
> 
> 



Reply to: