# Update All Clusters in a GH Script

**URL:** <https://discourse.mcneel.com/t/update-all-clusters-in-a-gh-script/73416>\
**Category:** Grasshopper Developer\
**Created:** [October 18, 2018, 1:19pm UTC](https://discourse.mcneel.com/t/update-all-clusters-in-a-gh-script/73416 "2018-10-18T13:19:16Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![archimax](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/archimax/32/652416_2.png) [@archimax](https://discourse.mcneel.com/u/archimax)\
**Post date:** [September 17, 2020, 2:39pm UTC](https://discourse.mcneel.com/t/update-all-clusters-in-a-gh-script/73416/8 "2020-09-17T14:39:16Z")

</div>

![Screenshot_1](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/e/f/efd37adc9020b47bfacfda11872c502a7bd1d4b1.png)

I’ve upgraded @TomTom’s solution with some extra features we needed.

1. Recursive mode to update clusters inside clusters
2. Passwords can be provided if nessesary
3. Cluster paths can sometimes be different depending on the user. You can submit local path to clusters’ folder and the script will try to find missing references if possible.

[UpdateAllClusters.gh](https://discourse.mcneel.com/uploads/short-url/e0KFuxZMCrFiO3M7fnHzNOdopod.gh) (5.7 KB)

---

_[View the full topic](https://discourse.mcneel.com/t/update-all-clusters-in-a-gh-script/73416)._
