[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Mass deletions



I think this should work:

$ ldapsearch objectclass=person dn | ldapdelete -D rootdn -w password

On 28-Jan-00 Julian Sitkewich wrote:
> Does anyone know a quick command to perform batch deletions at one time? 
> 
> For example if I wanted to delete all "persons" from my LDAP database...
> 
> What about deleting all LDAP entries?

---
Jason Bodnar + jbodnar@tivoli.com + Tivoli Systems

That boy wouldn't know the difference between the Internet and a hair net. --
Jason Bodnar