Archive for the 'osx' Category

/opt/local/bin/gcp on OSX

I needed /opt/local/bin/gcp on OSX to run rsnapshot

Start with macports, and the package you need to install is coreutils

user path in osx

One would think it would be simpler to find the best practice way of modifying a users path on OSX. Apparently this is it (because this mechanism will influence GUI’s as well).

me@blah ~/.MacOSX
$ defaults read ~/.MacOSX/environment
{
    PATH = "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin";
}
 
me@blah ~/.MacOSX
$ defaults write  ~/.MacOSX/environment PATH "~/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin"
 
me@blah ~/.MacOSX
$ defaults read ~/.MacOSX/environment{
    PATH = "~/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin";
}

Monitoring multiple gmail accounts

multiply-gmail-notifiers

I found this great post on how to use the google notifier on multiple gmail accounts. Works a treat, actually macoshints.com has lots of really great hints, the best bit is that the hints are generally well considered and substantiated as valid and workable solutions.

Check it out.
Pete