Hi Kath,

Perhaps this is what what your are looking for? Just substitute your
dirs for my testdirs.

Phil


Kath wrote:
> 
> I need some help making a small script file.  What I need it do is copy the
> directories on one HD to another.
> 
> the source directory is /mnt/DOS_hda1/Program Files/Apache Group/Apache/htdocs/
> 
> the destination directory is /home/httpd/html/
> 
> - Kathy
> 
> _______________________________________________
> techtalk mailing list
> [EMAIL PROTECTED]
> http://www.linux.org.uk/mailman/listinfo/techtalk
#!/bin/bash

cd /root/testdir

for i in `ls`
do
cp -r $i /root/testdir2
done
cd /root/testdir2
ls -R testdir2 | more

Reply via email to