* 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
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to