[ale] Batch processing text files

Jim Popovitch yahoo at jimpop.com
Thu Dec 6 18:55:39 EST 2007


On Thu, 2007-12-06 at 18:51 -0500, Jim Popovitch wrote:
> On Thu, 2007-12-06 at 18:32 -0500, Randal Jarrett wrote:
> > 
> > Thanks for jumping on this so quick.
> > 
> > These suggestions are great but but I forgot to mention that
> > there are almost a hundred dirs/subdirs and I need to maintain
> > the structure.
> > 
> > The converted files and structure can be built and then transfered
> > complete.
> > 
> > I should have outlined the problem better. not only do the files need
> > to be converted and the structure maintained but many of the files and
> > dirs have spaces in the names!!
> 
> $ cd <base_file_location>
> $ find ./ -type f -exec unix2dos "{}"

err,

that last line should be:

$ find ./ -type f -exec unix2dos "{}" \;

;-)

-Jim P.



More information about the Ale mailing list