rm /home/sites/site*/logs/web.cache*
rm /home/sites/site*/logs/web.stats
rm /home/sites/site*/logs/ftp.cache*
rm /home/sites/site*/logs/ftp.stats
rm /home/sites/site*/logs/mail.cache*
rm /home/sites/site*/logs/mail.stats


Ok So I have got 47 sites

How would I do a For-Next loop for that lot??


you don't need a For-Next loop. that above will do the job for all of your 47 sites (the * is a wild card which matches any Vsite).

andy
_______________________________________________
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

Reply via email to