I want to run a shell script to MOUNT all available external volumes
I found this for unmounting and it works fine:
osascript -e 'tell application "Finder" to eject (every disk whose ejectable is true)'
I don't know the syntax commands for the opposite action, mounting mountable disks. I tried substituting "eject" with "mount" and "ejectable" with "mountable" but no go.
Is it possible to script this?
Tx
The alternative is to buy the "Mountain" application and have done with it for $6.
MacBook Pro 14″, macOS 12.3