[ale] Batch processing text files
Joe Bayes
jbayes at spoo.mminternet.com
Fri Dec 7 01:30:41 EST 2007
Jerry Yu writes:
>dos2unix converts the file in-place, therefore the structure ( assume you
>meant directory structure) is intact.
But I thought he wanted the structure in a new location, not replacing
the old one.
I would do the following:
mkdir converted
tar cf - in |(cd converted ; tar xf -)
cd converted
find ./ -type f -exec unix2dos "{}" \;
Joe
--
Joe Bayes -- jbayes at spoo.mminternet.com
More information about the Ale
mailing list