How to make a backup + perform a search and replace on multiple files.
Using perl of coarse. It took me a second to get this to work; but its pretty easy: perl -pi.bak -e ‘s/string1/string2/g’
Everything is broken.
Using perl of coarse. It took me a second to get this to work; but its pretty easy: perl -pi.bak -e ‘s/string1/string2/g’
I know I am very late to the Xen party. I try to stay on top of the life changing software, but there have just been so many new things out there over the past two years or so. I Continue reading Zen with Xen + a terrible perl program
Its rare, but sometimes spotlight gets a little dumb. It will start missing things in /Applications or people in your address book. If this happens to you then you can have it reindex the volume. Just run mdutil -E / Continue reading Have spotlight reindex any volume
We had been having some problems w/ dns for OS 10.4 users. After running lookupd -flushcache didn’t work, and host was returning the correct values I got confused. Google to the rescue once again. I fixed it with scutil. If Continue reading If you are having DNS issues w/ OS X. Look into scutil.