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

