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

Related Posts:

  • Old Dock tips that are still useful
    Old Dock tips that are still useful
  • Why is my own data least important in search?
    Why is my own data least important in search?
  • Ultra high volume email workflow
    Ultra high volume email workflow

geeky, macOS tips

Post navigation

NEXT
Set up timed or recurring scripts
PREVIOUS
Forming work relationships

Get Monthly Updates

Recent Posts

  • Flower Power and Blue Dalmatian to the rescue?
  • “Why does Mail have to be so fucking complicated?”
  • This mouse has no tail!
  • Interview feedback and the Thumb-o-meter™
  • Buy a cactus, get hired

Categories

  • analog (1)
  • apple career (11)
  • apple inside (11)
  • apple stories (17)
  • bertrand serlet (3)
  • essays (15)
  • geeky (21)
  • interviews (4)
  • iOS tips (3)
  • Mac OS X (2)
  • macOS tips (37)
  • personal (7)
  • products (4)
  • scott forstall (7)
  • scripting (1)
  • steve jobs (14)
  • tim cook (1)
  • workplace (14)

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)
© 2022   All Rights Reserved.