23meg
May 9th, 2005, 02:28 AM
first off, i'm not entirely sure if i'm not abusing the programming section with a drive-by practical help request; forgive my lameness if this is the case, but this seemed too perl-related to be in the "other applications" section..
what i want to do is transfer my thunderbird contacts to my ipod mini. the mini accepts contacts in vcard format, and i know that thunderbird doesn't have built in support for exporting vcard files from its adress book. some folks are developing an extension (http://vcard.mozdev.org/) that will allow this, but it's in the works yet. however, i've found this perl script (http://hacks.traveljury.com/) that claims to do exactly what i want. trouble is, i'm a total alien to perl, and don't know how to make use of the script. i've made it executable by applying chmod +x to it, but that's how far i've got. ,
the part i'm stuck with is how to get the actual output from the script. it says in the comments that
vCards are printed to STDOUT, so can be redirected in the usual way:
$progname > vcards_file_name
$progname | recode UTF8..ISO-8859-15 > vcards_file_name
now, what i want to learn is how to actually redirect STDOUT to a vcard file. any help is appreciated.
what i want to do is transfer my thunderbird contacts to my ipod mini. the mini accepts contacts in vcard format, and i know that thunderbird doesn't have built in support for exporting vcard files from its adress book. some folks are developing an extension (http://vcard.mozdev.org/) that will allow this, but it's in the works yet. however, i've found this perl script (http://hacks.traveljury.com/) that claims to do exactly what i want. trouble is, i'm a total alien to perl, and don't know how to make use of the script. i've made it executable by applying chmod +x to it, but that's how far i've got. ,
the part i'm stuck with is how to get the actual output from the script. it says in the comments that
vCards are printed to STDOUT, so can be redirected in the usual way:
$progname > vcards_file_name
$progname | recode UTF8..ISO-8859-15 > vcards_file_name
now, what i want to learn is how to actually redirect STDOUT to a vcard file. any help is appreciated.