Disable .DS_Store on network mapped drives

I always seem to misplace this little piece of code, so I thought I would make my own post on it. ¬†Prevents those pesky .DS_Store files that OS X creates. Just run it from the OS X Terminal and you are all set. defaults write com.apple.desktopservices DSDontWriteNetworkStores true  

hddtemp + bash + mysql

So I got into this kick with gathering data and graphing it, I have been playing with flot for a bit and wanted to see what else I could graph.
I run hddtemp on my fileserver and while living in Vegas it gets pretty hot out, and my AC kicks on and off all day. I decided there has got to be a way for me to database the temp change on my hard drives through the

day and make it look nice. I put together this simple bash script that writes to the local MySQL server, then once I finish the web interface I will be making use of flot to graph the data. I thought I would share the simple script in case anyone else is interested in this as well.



Read More

My current iTunes rsync backup script

The other day I was looking for a backup solution for two laptops. While I was unable to get the exact results I was looking for I did create a nice bash script that detects the network, and if on my local network it will mount the share from my Airport Extreme and then rsync the data over.  I am sure there is plenty of room for improvement on this script, but it works quite well.

Read More