From: Graham B. <gb...@po...> - 2001-07-03 19:27:56
|
Thanks, I have added it into the contrib directory Graham. On Sat, Jun 23, 2001 at 01:46:24PM -0400, Kartik Subbarao wrote: > Here's another tool I'd like to contribute to Net::LDAP. Attached to > this message is ldifsort.pl, which sorts LDIF files by a specified key > attribute. It's pretty fast -- orders of magnitude faster than > server-side sorting in many cases. For example, it can sort a 300MB LDIF > file (with approximately 160K entries) in about 3 minutes. > > Examples: > > To sort an LDIF file of people entries by cn: > > ldifsort.pl -k cn people.ldif > people.sorted.ldif > > To sort an LDIF file containing multiple types of entries by dn: > > ldifsort.pl -k dn entries.ldif > entries.sorted.ldif > > > Any feedback is appreciated. > > Regards, > > -Kartik |