https://github.com/pythoninthegrass/installdmg
Install DMG w/embedded APP via terminal.
https://github.com/pythoninthegrass/installdmg
Last synced: 7 months ago
JSON representation
Install DMG w/embedded APP via terminal.
- Host: GitHub
- URL: https://github.com/pythoninthegrass/installdmg
- Owner: pythoninthegrass
- Created: 2016-11-02T23:20:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-21T18:09:44.000Z (about 9 years ago)
- Last Synced: 2025-01-11T16:50:28.795Z (over 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# installDMG
Install a bunch of DMGs from a directory.
##CREDIT:##
* Silent install DMG snippet @ http://stackoverflow.com/a/21428907
* Error logging @ http://unix.stackexchange.com/a/145654
* Set $IFS to eliminate whitespace in pathnames @ http://tldp.org/LDP/abs/html/internalvariables.html
* Quotation marks for variable expansion @ http://unix.stackexchange.com/a/131767
* Find syntax @ http://unix.stackexchange.com/a/153863
* AppleScript @ http://superuser.com/a/526626
* Code output redirected into array @ http://stackoverflow.com/a/9449633
* Array loop and syntax @ http://unix.stackexchange.com/a/34012
* Nesting if/then in for loop @ http://stackoverflow.com/questions/12030316/bash-nesting-if-in-a-for-loop
* Find syntax @ http://serverfault.com/questions/354403/remove-path-from-find-command-output/598631#598631
##Notes##
* Find Syntax
* "find ." returns './file'
* "find *" strips filepath
* "find "$scriptDir"" solves returning top level directory files
* Removed "-type f" as PKGs are treated as dirs