Easy

Is it possible to make external hard drives mounted on my Mac running Tiger available on my PC running XP via my network? Currently I can only see the one User home directory on each Mac.

Read the answer...

Securing Data on an External

May 18, 2010 - 2:47pm

I am using an iMac with Mac OS X 10.6. How can I prevent the files/folders in my external hard disk from being copied/modified without my permission? I have tried using the “Sharings & Permissions” setting in “Get Info” but I notice that the files/folders can still be copied even though I changed the settings to “Read Only”. Any suggestions? Thanks.

Read the answer...

Handbrake for DVD Ripping

May 18, 2010 - 2:21pm

Hi, i have recently purchased a new 2nd gen iPod Touch and i would like to copy a couple of dvd films to it ie madagascar 2. I am a complete novice at transferring files and therefore i’m looking for something that is easy to use. Many Thanks.

Read the answer...

I was writing some shell scripts the other day and I had to find which OS X version I was running and based on the OS X version I was trying to install my application. So this is a small and easy tip as to how you can find out the OS X verison using the default command.


OS_VERSION=`/usr/bin/defaults read “$3/System/Library/CoreServices/SystemVersion” ProductVersion`
echo “$OS_VERSION”

You can also get more specific if you want only the major version or the minor version by piping the OS_VERSION to ‘cut’ command by specifing the fields.


OS_MAJOR_VERSION=`echo $osversion | cut -f2 -d’.’`
OS_MINOR_VERSION=`echo $osversion | cut -f3 -d’.’`

One of the new ‘features’ in Leopard that annoys me to no end is the data detection built into mail. I asked about how to disable it on the apple forums, and someone suggested this (thinking if it works in iChat, it might in Mail):

defaults write com.apple.mail EnableDataDetectors 0

Unfortunately, it does nothing other than making a useless entry in a plist. I would LOVE to turn it off, just don’t even know where to start…

Read the answer...

If you move the Leopard dock to the side of the screen you get a dock with a gray background rather than the glassy surface. If you want that dock on the bottom of the screen as well, simply run the following:

defaults write com.apple.dock no-glass -boolean YES
killall Dock

This sets a hidden default on the Dock and then forces it to restart.

For the Tooltip Guy

November 14, 2007 - 1:57pm

I went to the GUI feedback session at WWDC last year and in the midst of all the yelling and screaming over the new dock and menu bar there was one guy with a wholly different mission: be able to turn off tooltips. His complaint (a valid one, I feel) is that every time he wants to sit and think about what’s on-screen, a little yellow box comes up where the mouse is, and there’s no real “safe spot” for the mouse that doesn’t do this in most applications.

So, I present a little tip I discovered shortly afterwards and appear to have not written up. I dedicate this to Tooltip Guy, wherever he is.

defaults write -g NSInitialToolTipDelay 99999

You now have 99.999 seconds to think at a given time. Replace -g with the ID of any application to change it in that application.

So I'm paranoid, but not THAT paranoid.

Sometimes I feel like using "Secure Empty Trash", but that uses '/usr/bin/srm' with the '-m' option (7 passes), which can take a while to complete. Most of the time, I only care about what might turn up with simple file recovery tools in case my drive gets stolen (as opposed to covering my tracks from say law enforcement or a foreign government) so really, a single pass should be plenty for my needs. I could always use 'srm' directly, but the convenience the built-in tool offers in handling the Trashes on various volumes, and having a built-in menu item is nice.

It turns out the 'srm' option used by "Secure Empty Trash" in Tiger is specified in the file:There's more »

/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Resources/Locum

Changing File Labels Outside The Finder

September 14, 2007 - 3:50pm

How do a figure out if a file has a color label on it (and what it is) in a perl script? Any applescript or shell program to do it would be awesome.

Read the answer...

Launchd Video

August 1, 2007 - 1:07pm

There is a video on Launchd on Google Video as part of the Google Tech Talks series. The creator of launchd gives a talk on how to use it and how its going to change as of Leopard 10.5. its pretty informative and useful if you are a sysadmin and supposedly if your a programmer also.

Syndicate content