-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 * Randal Jarrett <rsj@radio.org> [12-06-07 18:49]:
I'm looking for either a utility or simple script (bash/perl) to convert text files from linux (lf) format to dos (cr/lf).
I need to move over 10k files and maintain the directory structure while doing it. A lot of the files and some of the directories have spaces in the name. I can process them on my system and then move them to the win server. I also have to maintain the original files & structure.
Any and all assistance is appreciated.
unix2dos unix2dos --help unix2dos 2.2 Copyright (c) 1994-1995 Benjamin Lin. (1995.03.31) Usage: unix2dos [-hkqV] [-o file ...] [-c convmode] [-n infile outfile ...] -h --help give this help -k --keepdate keep output file date -q --quiet quiet mode, suppress all warnings always on in stdin->stdout mode -V --version display version number -c --convmode conversion mode convmode ASCII, 7bit, ISO, default to ASCII -o --oldfile write to old file file ... files to convert in old file mode -n --newfile write to new file infile original file in new file mode outfile output file in new file mode - -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFHWI2wClSjbQz1U5oRArJGAKCT6x4TKRMjrZ0DXizolAupNt0ElACbBdsN ymWmfYqEflVRe7Qah4fksnw= =fulL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org