Re: gnomecard
- From: "Billie H. Cleek" <cleek csc smsu edu>
- To: "Anthony E . Greene" <agreene pobox com>
- Cc: gnome-list gnome org
- Subject: Re: gnomecard
- Date: Thu, 4 Jan 2001 22:42:20 -0600 (CST)
Thanks.
On Thu, 4 Jan 2001, Anthony E . Greene wrote:
> On Thu, 04 Jan 2001 01:05:14 Billie H. Cleek wrote:
> >This works great if you're only doing a few files, but for anyone that
> >tries to import..say 100 vCard file then it's no longer an efficient
> >solution..hence my questions about the directory.
>
> If you have lots of VCF files, just put them all into one big VCF file:
>
> #!/bin/sh
> for vcard in `ls *.vcf` ; do
> cat $vcard >> bigfile.vcf
> echo "" >> bigfile.vcf
> done
>
> If you have lots of flat files, then put them all into a single directory
> and convert them all like this:
>
> #!/bin/sh
> for contactfile in `ls *` ; do
> cat $contactfile | gawk -f gawkscript >> ~/bigfile.vcf
> done
>
> Where "gawkscript" is your custom version of the gawk script I posted. In
> either case you can then append all of these at once from within GnomeCard.
>
> Plain text data files are great...
>
> Tony
> --
> Anthony E. Greene <agreene pobox com> <http://www.pobox.com/~agreene/>
> PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D
> Chat: AOL/Yahoo: TonyG05 ICQ: 91183266
> Linux. The choice of a GNU Generation. <http://www.linux.org/>
>
> _______________________________________________
> gnome-list mailing list
> gnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]