也可以方便一些人。#!/usr/bin/perl
use BerkeleyDB;
$file="$ENV{HOME}/.evolution/addressbook/local/system/addressbook.db";
tie %hash, 'BerkeleyDB::Hash', -Filename => $file
or die "can't read file '$file': $!";
print map { $hash{$_}=~s/2971/1971/m,"*** $_ => $hash{$_}\n" if /pas-id/ } sort keys %hash;
批量修改 evolution 的通讯录的信息
批量修改 evolution 的通讯录的信息
● 鸣学
- ChenFengyuan
- 帖子: 770
- 注册时间: 2008-03-23 0:39
- 送出感谢: 0
- 接收感谢: 4 次