Archive for tag: Mac OS X

Case-Insensitive Mac OS Extended (HFS+)

8 August, 2010 (06:30) | Mac OS X | By: Wolfgang

As of OS X 10.6 Snow Leopard a default HFS+ (Mac OS Extended) Volume still is case-insensitve. Interestingly enough I never ran into problems because of this, but still, it just doesn't feel right that these three commands are addressing the same file:

vi /Srsly/Apple/WHY
vi /srsly/apple/why
vi /SRSLY/APPLE/wHy

By the way, I know that there is a ...

Tracking File Opens With opensnoop

5 August, 2010 (06:30) | Mac OS X, [English Posts] | By: Wolfgang

Opensnoop is a great DTrace-based command-line program to track file opens.

If you want to know what files are accessed by a certain Process use sudo opensnoop -p PID.

To get information about the processes a file is opened by, use the -f option: sudo opensnoop -f ~/myfile.tmp.

Mac OS X Software Update via Command-Line

3 August, 2010 (06:30) | Mac OS X, [English Posts] | By: Wolfgang

The command-line equivalent to the Software Update… entry in the Apple menu is softwareupdate.

To install all appropriate updates use sudo softwareupdate -ai. Note that there is no GUI Dialog suggesting a reboot after system-critical updates were installed. So don't forget to read the commands exit message and reboot manually if necessary.

Für Umlaute angepasstes englisches Keyboardlayout unter Mac OS X

2 August, 2010 (06:30) | Mac OS X, [Deutschsprachige Einträge] | By: Wolfgang

Jedem, der öfters auf der Kommandozeile arbeitet, ab und zu HTML- oder LaTeX-Dokumente erstellt oder gar Programmierer ist, würde ich dringend die Verwendung eines englischen Tastaturlayouts empfehlen. Gerade unter OS X ergeben viele der zuvor kaum verwendbaren Tastaturkürzel erst dann einen Sinn. Man kann natürlich einfach im Betriebssystem das Layout umstellen, einfacher ist die ...

Moving Mail.app Data from One Mac to Another

25 July, 2010 (06:30) | Mac OS X, [English Posts] | By: Wolfgang

To transfer your mails from one Mac to another just replace the new Macs ~/Library/Preferences/com.apple.mail.plist file and ~/Library/Mail folder with the one from the old one.

Next time you start Mail on the new Mac you will be asked for each mail account's server password. If you don't know them anymore, look them up in ...

Mac OS X 10.6 Install Size

24 July, 2010 (06:30) | Mac OS X, [English Posts] | By: Wolfgang

Ever wondered about the minimal OS X 10.6 Install Size? Here is a list of the disk space the individual components need, taken from the Install Menu of an OS X Retail DVD:

Essential System Software
8.12 GB

Printer Support
2.93 GB

Additional Fonts
144 MB

Language Translations
1.21 GB

X11
159.4 MB

Rosetta
3.5 MB

QuickTime 7
32.8 MB

So the bare minimum is 8.12 GB but even ...

Mac OS X Command Line Audio Player afplay

22 July, 2010 (06:30) | Mac OS X, [English Posts] | By: Wolfgang

The little command-line tool afplay comes preinstalled with OS X and can be used to play Audio files. I don't use it often but sometimes it is nice to pre-listen an audio file with it, because it needs far less resources than starting up a media player like VLC or even iTunes .

To only ...

Sending Screenshots from Mail.app via the OS X Command-Line

21 July, 2010 (06:30) | Mac OS X, [English Posts] | By: Wolfgang

When I send an screenshot of a window via email I always followed the following procedure: Using the keyboard shortcut Cmd+Shift+4, pressing Space to switch to window selection mode, then holding down Ctrl while clicking on the desired window so that the screenshot goes straight into the clipboard instead of being saved to the ...

Software Recommendation: teleport

15 July, 2010 (06:30) | Mac OS X, [English Posts] | By: Wolfgang

Teleport is a great piece of software for everyone wanting to control multiple Macs with one mouse and one keyboard. After pairing the Macs and going to the edge of the screen with the cursor, the mouse now controls of the other Mac, as does the keyboard.

If you don't yet understand what exactly teleport ...

Disabling Bonjour Advertising on Mac OS X 10.6

14 July, 2010 (06:30) | Mac OS X, [English Posts] | By: Wolfgang

On public networks I preferred turning off Bonjour services with sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist. Turns out that with OS X 10.6 this also disables DNS.

In support article HT3789 on http://support.apple.com/kb/HT3789 Apple describes how to disable Bonjour advertising without disabling Bonjour queries and DNS.