This module provides a drush command to rebuild content access permissions. Specific content types can be specified or excluded. The command runs as a batch process on the command line.
Why? The GUI provides a way to rebuild permissions for every node on the site through a batch process that runs in your browser. On a large site this process can take a long time and can be prone to error. Often you only need to rebuild permissions for a single content type, and it would be nice to be able to rebuild via Drush anyway.
The command is: