I have some read-write disk images (some .dmg format, some in .sparseimage format) that I want to automatically open a Finder window to their base folders when I double-click them. Up to now, I have been able to do that using the
bless command, like:
sudo bless --folder dirPath --openfolder dirPath
but that no longer works as of High Sierra. Is there an alternative?