Unix Scrapbook
Extract audio from an m4a container (e.g. mp4) without transcoding:
ffmpeg -i input.mp4 -acodec copy output.aac
—
Split a flac file using its cue sheet (http://nxadm.wordpress.com/2009/02/09/split-one-flac-cue-file-into-separate-tracks/)::)
cuebreakpoints *.cue | shnsplit -o flac *.flac
Playing audio using sox without visual output:
play 01 whatever >/dev/null 2>/dev/null
sudo /Developer/Tools/Set File -a v /usr
hdiutil resize -help