Live data from Hacker News

OS X Command Line Utilities

mitchchn.me

1–10 of 210 posts

Re: OS X Command Line Utilities

#3
And if you'd like to use some of those utilities on GUI apps, don't forget the utility to bind them all: Automator.app. It'll let you interact with terminal and GUI apps in all sorts of interesting ways. For example, you could create a global keyboard shortcut to upload the selected text to a pastebin.

Re: OS X Command Line Utilities

#4
This article was nice, but it indicated that you need to change the system preferences in order to change the voice. It turns out that you can pass the -v flag to use a different voice, or "-v ?" to get a list of names.

So you can do

    say -v Samantha Help, I'm trapped in this castle!
or

    say -v Princess Help, I'm trapped in this castle!
But wait, it gets even better: The Mac comes with a number of voices for other languages, such as French, Hebrew, Chinese, and Arabic. And it turns out that the voices will work in English as well, using that country's accent. I just tried it with a few different languages, and was amazed by how well this worked, within reason:

    say -v Sin-ji  "Hello, I am Chinese.  What do you want to eat?"
    say -v Thomas  "Hello, I am French.  What do you want to eat?"
    say -v Carmit  "Hello, I am  Israeli.  What do you want to eat?"
And yes, I should get back to work...

Re: OS X Command Line Utilities

#8
post #4

This article was nice, but it indicated that you need to change the system preferences in order to change the voice. It turns out that you can pass the -v flag to use a different voice, or "-v ?" to get a list of names. So you can do say -v Samantha Help, I'm trapped in this castle! or say -v Princess Help, I'm trapped in this castle! But wait, it gets even better: The Mac comes with a number of voices for other lang…

This is great, and the voices apparently only know how to speak English, and their own language!

That is, typing

    say -v Milena "Здравствуйте, меня зовут Milena.
Actually says, "Zdravstvuyte...", while typing

    say -v Bruce "Здравствуйте, меня зовут Milena.
Results in "Cyrillic capital letter 'Z'. Cyrillic small leter 'd'.", etc.

Re: OS X Command Line Utilities

#10

What's with all the buzzfeed-level headlines making HN frontpage the past few days? Not to say this isn't a useful list (for OSX users that is), but I can't possibly be the only one weirded out by this.

The actual post is fantastic though. There are a million posts that give a one sentence description of the common unix utilities, but very few that actually give examples of when they are the most useful.
Post reply on HN