Due to a issue with Safari crashing I had to perform an Archive & Install OS repair. I recovered my user account from Time Machine but there isn't enough space or time to download all the pictures, movies and installers. So I figured I'd just move them from the old account folder. Only the finder wanted to copy the folders not move them. It would move the files. So I wrote an AppleScript script to force it to move the folders. Remember this is only for moving folders on the same partition.
tell application "Finder"
set theSource to choose folder with prompt "Source"
set theDestination to choose folder with prompt "Destination"
move items of theSource to theDestination
[crarko adds: I tested this, and it works as described. There was an earlier hint about moving (rather than copying) and some of the comments there presented other alternatives.]
The keyboards on Mac notebooks, and now desktops, too, have no number pad. It used to be that notebook keyboards had a numlock key, and you could use the letter keys on the right hand side of the keyboard as a number pad, but that feature seems to have vanished. It can, however, be brought back with AppleScript. [crarko adds: You can get it by pressing and holding the 'fn' key, which is also cumbersome.]
To refresh a widget in the Dashboard, open the Dashboard, select a widget, and press Command-R. There is a slick little animation, and the widget will refresh.
[crarko adds: I've seen this before, but on searching didn't find it here as a hint. Here is a previous hint with a list of other interesting modifier keys. It looks like the wiki mentioned there is no longer active, so I'll see about creating a new one. Thanks to reader Reuven Volnoboy for pointing this out.]
It is both inconvenient and less safe to keep backup volumes mounted when not in use. A mounted volume is more prone to corruption, and open file dialogs needlessly spin up mounted volumes, contributing to a user experience latency that is most apparent if the primary drive is solid state.
By creating an /etc/periodic/hourly directory modeled after the existing /etc/periodic/daily directory, and adapting com.apple.periodic-daily.plist, there is a place to put a script that handles mounting and unmounting the Time Machine backup disk, and launching Time Machine.
Another valuable free utility has gained Snow Leopard support, with the release of DasBoot 2.0.
This is a tool for making custom boot devices from a USB flash drive or other USB or FireWire media, including an iPod. It can import a variety of diagnostic utilities (Disk Warrior, Drive Genius, TechTool Pro and more) from their bootable install discs and configure them for use on the same device. You'll obviously need the appropriate license key to use commercial software.
It's also possible to update the installed software, so there is no need to burn a new disc every time one piece of software gets an update. This version of DasBoot works with 10.5 and up; there is also an older (1.0.3) version available for Tiger.
The only real limitation comes from the inability of PowerPC Macs to boot OS X from a USB drive. If you need to repair both Intel and PowerPC systems, a portable drive with a FireWire 400 (and possibly USB as well) interface is the way to go.
[crarko adds: I've used previous versions of this on both an 80 GB iPod and a small FireWire 400 drive, and it works great. Between this, AppleJack, and Winclone if you use BootCamp, it's easy to build a comprehensive repair and recovery suite. I've had to try to customize similar tools in the Windows world, and it's quite a bit more of a pain in the neck to accomplish.]
AppleJack has been updated to work with Snow Leopard with the release of version 1.6.
In a nutshell, AppleJack is a command-line utility and series of scripts for running repair tasks in Single User Mode when a bootable startup disc in not available. It's great for those times when all you get is a blue screen and no GUI startup, and need to troubleshoot and repair the problem, but left your complete CLI reference book in your other suit.
To use it, bring up Single User Mode by holding down Command-S at startup and then when the prompt is available type applejack. Use the menu provided or select 'auto pilot' to perform all of the basic tasks, such as filesystem and permission repair, cache clearing, and more. There is an 'Expert mode' available by typing 'x' at the AppleJack prompt to do more operations on the hardware and user accounts. Documentation is provided in a Man page; type man applejack for that.
This version supports 10.4 and up. Since Apple usually changes things under the hood with each major OS release a tool like AppleJack has to be updated for compatibility, so older versions didn't function properly in 10.6.
For more details, there was an excellent review of the previous version on Macworld. This will give you a good feel for this tool.
[crarko adds: I tested this, and it works as described. I swear by AppleJack, and am delighted it's finally 10.6 friendly. Just remember it needs to be installed before you have trouble, and not after the fact.]
There is finally a way to cut and paste files and merge folders in Snow Leopard. A new (shareware) Mac menu bar application, called moveAddict, provides this function, so you can use Cmd+X and Cmd+V in the Finder.
If you are experiencing a condition where the Console freezes when launched, and/or Terminal is very sluggish when starting up, it may be due to an accumulation of log files.
This blog post by Shannon Hicks shows how the problem was traced to a glut of hundreds of log files in /private/var/log/asl. [crarko adds: I just looked at my Mac, and there are only about 25 files in mine. That seems to be OK.]
If you don't need to keep these logs for some other reason, they can be deleted using the Terminal command:
sudo rm -f /private/var/log/asl/*
[crarko adds: I haven't tested this one. If you don't have the issues described, it's best just to leave the log files alone. See the comments below for more information about the log rotation process.]
Are you used to hiding windows instead of minimizing them because Command+Tab switching to an application does not bring up the document window?
When searching for a solution to this the only things that came up were applications like LiteSwitch and Witch. A bit of the functionality is also available in the built-in application switcher, but it's well hidden.
When you are cycling applications with Command+Tab, find the application you want to activate and press Option, then release the Command key and the window will un-minimize. Maybe there's a way for this to become default behavior by doing a defaults write command in Terminal, but I don't know how.
[crarko adds: I tested this, and it works as described. It seemed to only open the most recently minimized window if there were several. There is an earlier hint about modifier keys, but it doesn't mention this function.]