$ osascript -e 'get volume settings'
$ osascript -e 'output volume of (get volume settings)'
$ osascript -e 'set volume output volume 10' # 1-100
Mac shell 调节音量
+V d2h5X251bGw= 请备注:from博客园
hangj 2020-04-30 10:40 原文
$ osascript -e 'get volume settings'
$ osascript -e 'output volume of (get volume settings)'
$ osascript -e 'set volume output volume 10' # 1-100