On Fri, 2003-03-28 at 11:14, Steve Buehler wrote:
> Ok.  I ended up finding the answer right after writing the email.
> 
> cd /home/
> dirs=`ls -d *`
> cd /root
> for II in $dirs; do
>          TAR=`tar -czvf /root/$II.tgz /home/$II`
> done
> 

BTW I don't think this will get hidden files/dirs ( those beginning
with  a .)


Bret







-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to