Federico Hatoum
  • Home
  • About
  • Blog
  • Acting
  • Films

Federico Hatoum

  • Home/
  • About/
  • Blog/
  • Acting/
  • Films/
blog_background.jpg

Federico Hatoum

Software Developer, Maker, Podcaster

Blog

Federico Hatoum

  • Home/
  • About/
  • Blog/
  • Acting/
  • Films/
November 30, 2010

Playing Audio files from Terminal in MacOSX

November 30, 2010/ Fed
I needed to play an audio file from the command line in MacOSX and didn't know how. In Finder, I'd QuickLook the file using the spacebar and use the arrow keys to move to the next and previous files to hear them as well. 

In Terminal you can use the built-in 'afplay' command.

> cd my_folder_with_mp3s
> afplay audio_file.mp3


That's it.
November 30, 2010/ Fed/ Comment

Fed

  • Supercharging a Black & Decker ...
  • Installing FTP task on Ant 1.8.X on ...
  • Home/
  • About/
  • Blog/
  • Acting/
  • Films/

Federico Hatoum

Blog RSS

@fedhat