Skip to content

Instantly share code, notes, and snippets.

@RayBB
Created August 10, 2018 15:20
Show Gist options
  • Save RayBB/3a3af6ac9e1604af82103cc136f57f6b to your computer and use it in GitHub Desktop.
Save RayBB/3a3af6ac9e1604af82103cc136f57f6b to your computer and use it in GitHub Desktop.
while true
do
d=`date`
volume=`osascript -e 'get volume settings'`
echo -e "$d\t$volume"
echo -e "$d\t$volume" >> soundlog.txt
sleep 60
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment