I tried the following command find ~/dir1 *.m4a | play
Directory dir1 has exactly 1 m4a file in it and I'd like it to be played Yet I get a usage error from play. Why?
May be play don't use STDIN so you have to use xargs
find ~/dir1 \*.m4a |xargs play