Tuesday, 17 April 2012
Argh, Want to get some file info on OSX ? Use GetFileInfo …. if you can find it :-)
Having an interesting conversation with Eric Mack about OSX folders and aliases in Notes, and wanted to check the file permissions for a file that isn't playing ball.
Everything I read on the 'net told me to use GetFileInfo - which is part of the OSX Developer Tools.
So I duly launched the Mac App Store, downloaded the Developer Tools ( all 1.5 GB of it ), and …
I still couldn't find GetFileInfo.
According to the documentation, it should be here: -
but ….. it ain't.
After a quick search: -
$ find / | grep -i getfileinfo
I found it here …..
A quick symlink later: -
$ sudo ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/GetFileInfo /usr/bin/GetFileInfo
and the job … she is done :-)
A colleague was tinkering with grep and, thanks to him, I discovered a bit more about the trusty little utility. I had not really explored ...
After an unscheduled reboot of the VMs that host my K8s cluster, I was struggling to work out why the kubelet wasn't starting properly...
I hit a wee snag earlier today, whilst attempting to unpack some IBM software on my NAS. Being a command-line junkie, I'd SSH'd into...
I've just spent ~1 hour trying to get a pair of Powerline adapters to .... pair. This involved pressing a "Pair" button on one...