Skip to content

Conversation

@mircobabini
Copy link
Contributor

Hey, I faced many times the error argument list too long: wp when deleting users on my sites.

This shows how to delete users in batches of 100.

@mircobabini
Copy link
Contributor Author

Well, we can also show an higher number btw.

I tried with 35.000 users: error.
Then tried with 10.000 users: it works.

Maybe 10.000 is a better example. Easier to understand it's for higher numbers.

Copy link
Member

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @mircobabini !

This documentation is actually automatically generated from the codebase. I've pulled your example over so it continues to live on: wp-cli/entity-command#358

@danielbachhuber danielbachhuber merged commit 4437b72 into wp-cli:main Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants