[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: address book for mutt



On Fri, Nov 08, 2002 at 02:24:05PM +0100, Vinai Kopp wrote:
> On Fri, Nov 08, 2002 at 05:34:47PM +0530, Sandip P Deshmukh wrote:
> > On Fri, Nov 08, 2002 at 09:52:11PM +1100, Sam Varghese wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > > 
> > > On Fri, Nov 08, 2002 at 03:51:28PM +0530, Sandip P Deshmukh spake thus:
> > > 
> > sad - it is outlook 2000. but as i said, i already have the data in csv format - fairly
> > universal?
> 
> Write a small shell (or perl or php or something) script to do it.
> If you need help send the exact format of the cvs file you've got and
> I'll send a quick hack that should work for a mutt aliases file.

oh! i must say a big thank you to you. here is the format of my csv file:

"Title","First Name","Middle Name","Last Name","Suffix","Company","Department","Job Title","Business Street","Business Street 2","Business Street 3","Business City","Business State","Business Postal Code","Business Country","Home Street","Home Street 2","Home Street 3","Home City","Home State","Home Postal Code","Home Country","Other Street","Other Street 2","Other Street 3","Other City","Other State","Other Postal Code","Other Country","Assistant's Phone","Business Fax","Business Phone","Business Phone 2","Callback","Car Phone","Company Main Phone","Home Fax","Home Phone","Home Phone 2","ISDN","Mobile Phone","Other Fax","Other Phone","Pager","Primary Phone","Radio Phone","TTY/TDD Phone","Telex","Account","Anniversary","Assistant's Name","Billing Information","Birthday","Categories","Children","Directory Server","E-mail Address","E-mail Type","E-mail Display Name","E-mail 2 Address","E-mail 2 Type","E-mail 2 Display Name","E-mail 3 Address","E-mail 3 Type","E-mail 3 Display Name","Gender","Government ID Number","Hobby","Initials","Internet Free Busy","Keywords","Language","Location","Manager's Name","Mileage","Notes","Office Location","Organizational ID Number","PO Box","Priority","Private","Profession","Referred By","Sensitivity","Spouse","User 1","User 2","User 3","User 4","Web Page"

i do not know why i could not wrap that line.

now now, i have managed to integrate abook with mutt - read mutt manual for that!! i will
really like to know if i can take csv file in the format mentioned above and convert into
abook format file. i have tried abook --convert-format option. it did not work.

i feel i am close to solution but still not there!

thanx in advance

- sandip

-- 
Adde parvum parvo manus acervus erit.
	[Add little to little and there will be a big pile.]
		-- Ovid



Reply to: