Command to rebuild 'view path cache'

Does Elgg come with a command line script that one could use to rebuild the view path cache? If not, has anyone created anything of the sort?

Cheers