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

  • Federico Hatoum
    I love that Google Docs correctly spell checks "stormtrooper", "lightsaber" and "mandalorian"
    Feb 25, 2023, 7:34 PM
  • Federico Hatoum
    Not only am I reminded about Pearl Harbor, but also one of my favorite #TheBenStillerShow sketches: B Minus Time Tr… https://t.co/LeXs9TnzGw
    Dec 7, 2022, 4:09 PM
  • Federico Hatoum
    My YouTube channel crossed 1k subs! #1kcreator https://t.co/bqw0h3BJCE / Mi canal de Youtube superó los 1000 suscritos!
    Sep 21, 2022, 10:10 PM
  • Federico Hatoum
    Concrete Mandalorian Bust and Pedestal, Roman Style https://t.co/APfHusEtUx
    Aug 2, 2022, 8:57 PM