You can do it by directory with the following. Adjust input and output directories as required. I've used a sed method from
http://www.student.northpark.edu/pem...d/sed1line.txt instead of dos2unix.
cd /mnt/windows/Windows/; for i in *.txt; do cat $i | sed 's/.$//' > /home/josh/$i; done
mstep: Linux uses (LF) to mark end of lines. DOS/Windows use (CR)(LF), and Macs just to be different use (CR). The usual complaint you hear about this is that in Windows Notepad, Linux text files show all on a single line with squares showing where the lines should end.