Skip to content

Instantly share code, notes, and snippets.

@seancheung
Created March 2, 2017 13:21
Show Gist options
  • Save seancheung/8902b4336dadc5e5f83258a9cf7c9df1 to your computer and use it in GitHub Desktop.
Save seancheung/8902b4336dadc5e5f83258a9cf7c9df1 to your computer and use it in GitHub Desktop.
Install .pkg files in current directory on OSX
#!/bin/bash
for file in *.pkg; do
installer -pkg "$file" -target /
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment