Hi all,
Why is the following script ripping out every directory rather than just
those in 'studentfile'

#!/bin/bash
while read name; do
 cd $name
 rm -fvr *
 cd ..
 rmdir $name
done < studentlist

------------------------------------
OLMC
Simon Bryan
IT Manager
[EMAIL PROTECTED]
LMB 14
North Parramatta
tel: 96833300
fax: 98901466
mobile: 0414238002
------------------------------------

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to