Along with several small fixes in the recently recently released 10.8.1 update to Mountain Lion, the tech boffins over at Cupertino managed to ‘break’ the purge command. Now, as this isn’t a widely advertised OS X command, a fix should be along in the next OS X update all being well.

In the meantime, should you need to use the command to free up memory, you can use terminal to create a ‘soft symbolic’ link. Although this tricks OS X into allowing the command to be used, it’s not a permanent solution. Thus meaning it will be overwritten with the next update.

To do this, fire up Terminal then type or copy and paste the following commands:

cd /System/Library/PrivateFrameworks/CoreProfile.framework/Versions/A/Resources/Devices/
sudo ln -s osx-12.0.0.xml osx-12.1.0.xml

You may be prompted for your password, if so enter it as normal into the terminal window, bear in mind nothing will appear as you type your password.

Once done you will then be able to type purge into terminal to free up memory resources once more.

This blog posts is one of the several guest blog posts to Posted by one of my readers Thomas Hazlett, Thomas has converted the terminal commands in my earlier post Show hidden files in OS X 10.7 or 10.8

  1. Launch -> /Aplications/Automator
  2. Select what type of workflow you would like. I feel a service is a good choice for this so go ahead and;
  3. Select -> Service
  4. At the top of the window there should be 2 combo-boxes.
  5. Select -> no input
  6. Select ->
  7. Drag -> Run shell script; from the left panel to the right and enter the following:
is_shown=$(defaults read AppleShowAllFiles)
if [ $is_shown != "YES" ]
defaults write AppleShowAllFiles YES
defaults write AppleShowAllFiles NO

(You may have to retype the quotes around the “YES” in the if statement).

8.   Below that Drag -> Ask for confirmation and enter a message to the effect of “Do you want to relaunch finder? This will cancel any file transfers etc.”Under that,
9.  Drag -> Run shell script and enter killall Finder
10.  Save it, naming it whatever you want it to appear as under the services submenu of the Finder menu.
11.   With Finder in the foreground, click Finder in the top left -> down to Services and click your newly created Service.

Thomas Hazlett is from and still lives in Belfast, N. Ireland. He is currently studying with the Open University towards his BSc in Computing and IT however has decided to take a year out to work on his own projects; start a blog; and spend more time doing home renovations. You can find more about him at

So.. You’ve got your shiny new Mac! You’re finally a Mac convert.. You no longer need your old slow Windows machine? Or is that not the case….?

Despite what we do sometimes there is truly no escaping the clutch of Microsoft’s ‘monopoly’. Many applications are yet to be ported over to OS X, and even more games besides. But wait.. When you find that one app that requires Windows, you do have to dump your mac, you don’t even have to bootcamp.. All you need to do is bag yourself a copy of Parallels Desktop 7 and you’ll be reunited with your windows applications in no time at all.

What’s more, if you buy your copy of Parallels Desktop 7 before the 19th of August you’ll save yourself 25%! You have to admit its a pretty good deal..

So what is Parallels Desktop?

Parallels Desktop for Mac is the most tested, trusted and talked-about solution for running Windows applications on your Mac.

Unlike other applications on the market, Parallels Desktop boasts the fastest ever start, stop and resume for it’s virtualised machines. It’s also fully compatible with Mountain Lion. So is the perfect addition to your new Mac purchase!

You can download your copy with 25% off until the 19th using this link alternatively check out Parallels press release for more information by clicking the link below.

Continue reading »

TerminalRouting Network Traffic

I recently came up against a bit of an issue whilst working on my MacBook Pro in the office, due to the environment we work in access to the outside world is tightly controlled by our firewall, and although I love to spend countless hours adding and tweaking rules (not strictly true) – I wanted to find a better solution for routing traffic to certain sources over certain connections.

Now – there’s a couple of fairly major caveats on this ‘how-to’ and that is that a second network needs to be available and that the gateway addresses are different.

For the purposes of this tutorial, my wired lan connections IP address is and my wireless connections IP address

The tutorial was born from my laptop’s need to communicate with Stanford Universities Folding@Home client, which needed to communicate with its job server* to upload and download new work packages. (*This is one IP address of many used)

Knowing I had my unrestricted wireless connection available I knew I wouldn’t have any issues, however as my MacBook’s service order is always set to use the cabled connection first – the client would always try sending over that and then fail.

Working around this is however, fairly straight forward and easy to achieve. All I needed to do was to direct all the network traffic to Stanford’s servers over my wireless connections gateway.

To do this, all you need to do is fire up a terminal session and type the following:

Sudo route add

Upon hitting return you should be prompted for your ‘sudo’ password, once added the route will then be added to the routing table. Thus forcing all traffic to that address to ignore my service order, and default to the wireless connection to send/receive traffic. Obviously – this is a pretty unique situation, and outside of that network traffic will then start failing. To rectify that, and remove the entry from the routing table you will again need a terminal session, and to type the following:

Sudo route delete

Obviously you will need to replace the IP Addresses where appropriate.

If you’ve a better way of dealing with such issues I would really be interested to hear them – let me know using the comments section below.

By default the ‘Library’ folder is a hidden folder in OS X Finder. However, if you need temporary (GUI) access you can use this simple AppleScript below to remove the ‘hidden’ flag from the folder.

tell application "System Events"
	set libvis to (get visible of folder "~/Library")
end tell

if libvis = false then --~/Library is currently invisible
	tell application "System Events" to set visible of folder "~/Library/" to true
else --~/Library is visible
	tell application "System Events" to set visible of folder "~/Library/" to false
end if

This script could also be easily amended to show and hide any folder of your choice, simply by replacing the ~/Library/ with the path of the folder you’d like to toggle.

Page 5 of 22« First...34567...1020...Last »