Force eject external volume

How to fix: The volume can’t be ejected because it’s currently in use At the time of writing this article, I was using : macOS Catalina 10.15.1 Build 19B88 Steps : Launch the Terminal.app from the Utilities folder of your Applications folder Next we need to find the proper name of our disk: ls -ll /Volumes/ Now let’s find out which system process uses our disk. For this we use the lsof tool....

November 22, 2019 · Pavan Raju

Setup localhost on macOS

Reference articles : https://websitebeaver.com/set-up-localhost-on-macos-high-sierra-apache-mysql-and-php-7-with-sslhttps{:target="_blank"} https://discussions.apple.com/docs/DOC-3083{:target="_blank"}

February 22, 2018 · Pavan Raju

Creating PAYLOAD-FREE Package

Creating PAYLOAD-FREE Package Here’s how we make a “true” payload-free package (that does not leave a receipt): pkgbuild --nopayload --scripts /path/to/scripts_dir --identifier org.example.payloadfree --version 1.0 MyGreatPayloadFree.pkg But payload-free packages built this way have a “feature” that can sometimes prove problematic. Flat packages built with pkgbuild using the --nopayload option do not leave receipts in the pkgutil database. This means it can be difficult to determine if a given payload-free package has already been installed on a given machine....

September 18, 2017 · Pavan Raju

Convert .app to .pkg (Packaging)

1. Productbuild + ARD demo suggestion: Create a distribution package of a small app (man productbuild) and distribute the package to each attendee’s Mac using ARD. Example for Firefox : productbuild --component /Applications/Firefox.app/ /Applications/ ~/Desktop/Firefox.pkg 2. pkgbuild General example : sudo pkgbuild --install-location /Applications --component /path/to/app/for/MyGreatApp.app ./path/to/save/package/packagename.pkg Example for Firefox : sudo pkgbuild --install-location /Applications --component /Applications/Firefox.app ~/Desktop/Firefox_v300.pkg Reference articles : http://thegreyblog.blogspot.in/2014/06/os-x-creating-packages-from-command_2.html{:target="_blank"} https://www.jamf.com/jamf-nation/discussions/14843/app-installations{:target="_blank"} https://www.youtube.com/watch?v=oKxjxi9Eny8{:target="_blank"}

June 6, 2017 · Pavan Raju