howto

Mac: Command Line Audio

Change Mac Audio Volume from Command Line

To change the audio volume from remote of my Mac at home, I needed a command line tool which I can use via ssh. I've found it here: OS X Daily - Change the system volume from the command line. It's as easy as

sudo osascript -e "set Volume 10"

You can enter numbers from 0 (mute) to 10 (maximum).

Play Audio File

Syndicate content