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 ([EMAIL PROTECTED]) [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  <[EMAIL PROTECTED]>
RSJ Consulting, Inc
Hernando, FL
(352) 419-0112



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to