Need information from many files

VeeDubbs

Limp Gawd
Joined
Dec 9, 2005
Messages
398
Hi all -

I need to get minimal information from many many files. This is from our e-mail system, and each person has a file called account.settings which contains the following:

Code:
{
 AccessModes = (23,Mail,Relay,Signal,Mobile,TLS,POP,IMAP,MAPI,AirSync,SIP,XMPP,WebMail,XIMSS,FTP,ACAP,PWD,LDAP,RADIUS,"S/MIME",WebCAL,PBX,HTTP);
 AddMailTrailer = NO;
 AddWebBanner = NO;
 ExternalINBOX = NO;
 MaxAccountSize = 100M;
 PWDAllowed = YES;
 Password = password;
 RPOPAllowed = YES;
 RealName = "Bob Smith";
 RecoverPassword = [email protected];
}

This file is held in a folder with the format username.macnt. So if my name is Bob Smith, my account.settings file is in the bsmith.macnt folder -- we have 5,642 accounts.

The information I need is: username, first name, last name & password.

What is the easiest possible way to do this? Is awk/sed an option?
 
Back
Top