Guides 11791 Published by

MacOSXHints posted the following 6 new tips:

- 10.6: Use Archive Utility to make zip backups
- 10.6: Add wireless networks from command line
- Launchd wildcard characters
- Auto-disable AirPort when ethernet is active
- Easily encrypt Time Machine backups
- Fix unresponsive button on BBC iPlayer in Safari



10.6: Use Archive Utility to make zip backups
For those who don't trust Time Machine, backing up to archives manually can be tricky. First off, as of OS X 10.6.4, the Unix zip and unzip programs that you can start from a terminal shell script do NOT handle resource forks and extended attributes correctly. The zip man file has an apology that this will be implemented soon. (And Automator uses the Unix zip program.)
Read more

10.6: Add wireless networks from command line
In the past there have been several published hints on the /usr/sbin/networksetup command. However, until recently (well since 10.6.x) that command was not able to add passkeys to the keychain. I just received 500 new MacBooks to image in my enterprise and these brand new ones will only run 10.6. The rest of our deployment is still on 10.5.8 because we never had the desire to re-image 40 OS X Servers and 8,000 clients with 10.6.
Read more

Launchd wildcard characters
One of the occasional irritations of working with launchd is that it doesn't naturally expand shell wildcard characters (~,*,?,...). This means that full paths have to be spelled out for all files: an annoyance at best, and an obstacle when commands need to select specific groups of files or do work across different home folders.
Read more

Auto-disable AirPort when ethernet is active
Ever been annoyed to be on both wireless AND wired network at the same time, without the opportunity to automatically disable AirPort when plugging in a cable?
Read more

Easily encrypt Time Machine backups
One missing element of Time Machine has been the ability to encrypt the backups. There have been suggestions of ways this can be done to an AFP connected network share using a sparse disk image, but not on a directly connected device. The method below shows how to accomplish this on a local volume.
Read more

Fix unresponsive button on BBC iPlayer in Safari
I had a problem clicking the 'Watch now' button when I wanted to watch a live broadcast on my Mac from the BBC iPlayer website.
Read more