![]() A more foolproof approach is to use find, e.g. ![]() While the for f in *.xyz syntax looks 'clean' and neat, it is considered bad practice in bash because it is likely to fail on file names with spaces, quotes and other special chars. Handling files with spaces and special characters A similar shareware (nagware) app - Pacifist, can be used for inspecting and unpacking dmg/pkg and other container formats. Pressing spacebar in Finder with the selected file should work too. ![]() If you want to see which specific folders a pkg installer writes to and which post-install scripts will be run then check out SuspiciousPackage (freeware, can be installed with brew install -cask suspicious-package), and use quick preview from Finder when a. They will end up in /Users//Applications unless a specific path is predefined in the installer. Sudo installer -verbose -pkg "$f" -target /Īs an alternative you can install the packages to your home folder with -target ~. pkg files from the current folder to /Applications (or whatever target folder is configured in the package): for f in *.pkg do
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |