Pages

Showing posts with label audiobooks. Show all posts
Showing posts with label audiobooks. Show all posts

Friday, February 26, 2010

25 Terminal Tips Every Mac User Should Know | Mac|Life

13. Establish A Secure Connection

SSH connections require less bandwidth and system resources than screen sharing.

SSH, or secure shell, opens a Terminal session on a remote machine, so all commands are then executed in the remote Terminal rather than the local one. The connection is encrypted, meaning none of the traffic passing between the two machines can be read if intercepted.

To get started, first make sure that SSH log-ins are enabled on the remote Mac by opening System Preferences and selecting the Sharing pane. Check the box next to Remote Login, and the SSH service will activate.

To connect to a remote computer via SSH, open the Terminal on the local machine and execute this command: ssh -l username remote-address.

Replace username with your username on the remote Mac and remote-address with the remote Mac’s IP address. (The remote IP address is listed in the remote machine’s Sharing pane when you click on Remote Login.) Press Return, and enter the remote username’s password at the prompt. SSH will connect you to the remote machine. (If you’re asked to add the remote machine to a list of known hosts, press Y for yes.)

Once you’re connected, you can execute any Terminal command remotely.

 

14. Freak Out Your Roommates

Your Mac’s reading voice won’t win an Oscar, but it’s plenty good for gags.

There are hundreds of useful remote commands, but let’s get you started with a good gag. If you know that someone else is using the remote computer, SSH into the machine, and execute say “Ouch. Don’t press the keys so hard.”

The remote machine’s default voice will read the statement over the speakers. This is even funnier if can do it from a laptop in the next room. (Please use this power responsibly. Impersonating deities or the Department of Homeland Security is bad form.)

Pranks aside, say can quickly create a machine-read audio book from a text file. Execute say -o savedaudio.aiff -f file-to-read.txt. Say will convert the file and save it as savedaudio.aiff in the Terminal’s current directory.

had to strip the pictures out ... but still, something fun to try in the inordinate amounts of downtime that I may or may not have ...

Posted via web from mabelrxu's posterous

Useful Mac OS X Terminal Commands « Art Of Geek

Change a file’s type code to make an AAC file an iTunes/iPod audio book

/Developer/Tools/SetFile -t 'm4b ' filename.m4b
Note: You must have the Mac OS X developer tools installed for this command to work!

This gem of a command will set the type code of a file to ‘m4b ‘ (there is a space after the ‘b’), which tells iTunes it’s an audio book. This is required if you have ever ripped an audio book from CD, and want iTunes to see it as an audio book. The file must be an AAC file, and you need to change the file extension to .m4b. The truth is, this command can come in handy any time you need to implicitly set a file’s ‘type’ or ‘creator’ codes. You can view the SetFile man page for help by typing man SetFile at the terminal prompt and hitting return.

That’s all the time (and commands) we have for today folks! I’ll post more in a future article!

from one of the linked sites ... I wonder if I'm doing the same thing by going to Track Info and setting them as type 'Audiobook' instead of type 'Music'?

Posted via web from mabelrxu's posterous