The error stems from the way OS X stores files. If you have ever seen Apple files on a PC, you may have seen files beginning with a “._” dot-underscore. While this problem was seen on Snow Leopard, I recently saw this issue after trying to use Migration Assistant to transfer a user multiple times. […]
The command lsof lists open files. However, even if you use the -u option to show files open by just the user, there is a lot of files used in the background that you don’t really know about. I wanted to parse this down to get just the files I had open in the GUI. Below […]
YouTube Drops Flash
Apple Remote Desktop has become flaky over the last few versions of OS X. Apple isn’t really working on it anymore. It is still a great tool, but often, it will have difficulties finding computers on the network. Here is what I do to make it work a little better.
If you have a ton of photos that are all facing the wrong direction and don’t want to do them individually, you can use Hazel to automatically go through a folder and rotate the images for you. All it takes is a one-line bash script and a Hazel rule. sips -r 90 “$f” This rotates the image 90 […]
I haven’t found a great use for this yet, but you can have your Mac automatically run a script by simply creating a file/folder in your Dropbox. To do this, you need to set up Hazel to watch your Dropbox folder for a certain file/folder, and if it appears, trigger a script. You could also […]
Do you respond to a lot of emails with the same or similar content? You can use Apple’s Mail app to do this for you automatically with some AppleScript and email rules. Hopefully, you already know about the privacy glitch associated with Apple’s Mail program and Spotlight and have disabled the indexing of your emails. If […]
I use this script to generate random numbers. This is useful if something needs a random time delay (for network performance issues) or choosing a random selection from a case statement. #!/bin/bash RANGE=90 number=$RANDOM let “number %=$RANGE” echo “$number is a random number less than $RANGE”
I usually use my iPhone to take pictures for my Website and then upload them via the Dropbox app so they appear on my computer. This is a nice feature, but the photos are way too large to use on a Website. Instead of opening each one in Preview, scaling it down and saving it. […]
I often use this script with ARD to quit all open apps. Useful for when some malevolent students sets every app to open at login.