Tech Reflect
  • Home
  • About This Site
  • Contact me
  • Search Icon
Sharing scripts between machines

Sharing scripts between machines

2017-08-10

If you use multiple Macs, you may find yourself writing and editing scripts that could be useful on all of your machines. This is another potential use of iCloud Drive. Here’s what I do:

  • I created a “bin” folder at the top level of my iCloud Drive
  • I set up a symlink from my home directory to iCloud Drive on each of my machines using the same iCloud account:
ln -s /Users/admin/Library/Mobile\ Documents/com~apple~CloudDocs/bin ~/bin 
  • I set up my shell config file to add ~/bin to the PATH variable.
export PATH=~/bin:/usr/bin:/bin:$PATH
  • Start writing and editing scripts that are quickly available on all machines!

Related posts:

Many-to-many screensharing
Sharing shell settings between Macs
Multiple Macs, one location for screenshots

Multiple Macs, one location for screenshots

Sharing scripts between machines
Many-to-many screensharing
Sharing shell settings between Macs
Multiple Macs, one location for screenshots


geeky, macOS tips

Post navigation

NEXT
Set up timed or recurring scripts
PREVIOUS
Forming work relationships
Comments are closed.

Get Monthly Updates

Recent Posts

  • Inserting random email sigs in Mail on iOS
  • Keep Instagram open to finish posting…
  • How I predicted the rise of Twitter, barely used it, and amassed 35,000 followers
  • Apple Books 2022, in pictures
  • Killing one bird with two-and-a-half stones in Mac OS X Mail

Categories

  • analog (1)
  • apple career (12)
  • apple inside (19)
  • apple stories (20)
  • bertrand serlet (3)
  • bugs (3)
  • essays (15)
  • geeky (21)
  • interviews (4)
  • iOS tips (4)
  • Mac OS X (7)
  • macOS tips (36)
  • personal (8)
  • predictions (1)
  • products (5)
  • prototypes (6)
  • scott forstall (7)
  • scripting (2)
  • siri (2)
  • steve jobs (16)
  • tim cook (1)
  • workplace (15)

Get Monthly Updates

About cricket


Me with Guiness the owl

25 years in tech. I like to write manifestos. I like to offer interesting tips. I like making fun of things. Everyone copes differently.

My Other Blogs

  • Free Range Parrots
  • Plucky Tree (personal)
© 2025   All Rights Reserved.