* Peter P. <[email protected]> [10-15-15 18:28]:
> * Patrick Shanahan <[email protected]> [2015-10-15 18:04]:
> > * Peter P. <[email protected]> [10-15-15 16:30]:
> > > Hi list,
> > > 
> > > please excuse me if this is slightly offtopic, nevertheless this seems a
> > > propoer community to ask.
> > > 
> > > Does anyone know if/how I can export an abook data file to a format that
> > > can be merged with lbdb's m_inmail.list file?
> > 
> > lbdb can read abook, /usr/lib64/lbdb/m_abook
> > 
> > I believe if configured that it will automatically include abook addresses
> > and will provide them when queried.
> 
> Thank you, this is what I am already doing successfully. I would just
> like to uninstall abook altogether (I am not using it really) and rely
> only on lbdb, hence I would like to import/merge abook's datafile into
> ~/.lbdb/m_inmail.list

lbdbq > m_inmail.list.new

cat m_inmail.list > m_inmail.list.new

sort m_inmail.list.new | sort | uniq > m_inmail.list.new2

inspect m_inmail.list.new2

If satisfied, mv m_inmail.list m_inmail.list.old
              mv m_inmail.list.new2 m_inmail.list

When happy with new list, rm m_inmail.list.old


-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA          @ptilopteri
http://en.opensuse.org    openSUSE Community Member    facebook/ptilopteri
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535                    @ http://linuxcounter.net

Reply via email to