7 Dec
2007
7 Dec
'07
17:56
Thanks for the info. I'll add it to the rest of the replies and try to come up with something that will work. On Fri, 2007-12-07 at 16:08 +0100, Philipp Thomas wrote:
* Randal Jarrett (rsj@radio.org) [20071207 06:00]:
get file, convert file, put file in the same subdir as original but in new structure.
Something like;
pushd <old top_dir> for f in "$(find <old top dir> -type f)"; do destdir=<new top_dir>/$(dirname $f) file=$(basename $f)
if [ ! -d $destdir]; then mkdir -p $destdir fi unix2dos $f $destdir/$file done popd
Philipp --
Randal Jarrett <rsj@radio.org> RSJ Consulting, Inc Hernando, FL (352) 419-0112 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org