Hybrid Hacker

👾 Technical notes and hybrid geekeries

Switch on and off nsurlsessiond on Mac OS

If you use iCloud services, you may have noticed that sometimes your bandwidth is fully saturated by processes called nsurlsessiond or nsurlstorageid; these services take care of syncing your files, photos or contacts with iCloud. It happens that sometimes you can't count on large bandwidth and this is a bit annoying. This is why I created this simple script to activate/deactivate iCloud nsurl* processes.

Download this code, save it on a file and chmod +x cloud.sh.

To disable nsurl* services just run: ./cloud.sh off.

To enable nsurl* services just run: ./cloud.sh on.