Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] Script Help


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
simon.bryan@xxxxxxxxxxxxxxx
LMB 14
North Parramatta
tel: 96833300
fax: 98901466
mobile: 0414238002
------------------------------------