If you're a developer and use a Unix-like OS, you must be spending a good amount of time inside the shell. Here's a nice, little tip on how to play Music with in the command line interface, in OS X. OS X ships with a CLI utility called afplay. There's not much documentation available, even the man page doesn't show its options. But it's there and more importantly, it works. To use it, pass a Music file's path in the command, like this:
I guess it works for all Music files, regardless of the type (I tried it with .m4a and it worked fine). To stop the play, you can of course hit Ctrl + C and the shell will terminate it.
This will allow you to use the shell while the Music is playing in background. To stop it, you can do You can also use Quicklook's CLI to play Music files. The utility is named If you like this, you might want to take a look at some useful Quicklook plugins. Also, thanks to Rakshit Thakker for the tip! -- This Post Play Music files in Terminal in OS X is Published on Devils Workshop . | |||
| |||
| |||
|
Wednesday, 18 September 2013
Play Music files in Terminal in OS X
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment