Update taxonomy aliases with views bulk operation in Drupal 6

Hi everybody, recently faced with the fact that you need to update thousands of aliases to content, taxonomy terms, and users. 
Everything is good only if it did not have to do for Drupal 6. 
The solution was found immediately.
Download and install the module and create three views_bulk_operations display. 
The first and the second is the list of contents and a list of users, respectively. In the display settings set bulk operations and select "Update URL alias" and set to use the batch api.
But for taxonomy terms no field update paths aliases.

To do this, just create a view with a list of terms and select the map bulk operation, in the options, select "Execute arbitrary PHP script" and save.

It is important to remember to turn off the pager!

Now on the list page, select taxonomy terms, all terms and click to perform bulk operations on writing such a code:

pathauto_taxonomy('update', 'term', $object);

And voila! Aliases are created.
p.s. You need to enable pathauto module.

Rating: