This is for Mac OS X, without any guarantee and at your own risk (Think first!).
In the olden days, I used to have a tool called Camera Window to import photos from my Canon camera into the archive on my computer. On a windows machine, this worked by connecting the camera via USB cable with the computer, and it worked like a charm. On the Mac, I had to pull the SD card out of the camera and put it into the computer. Same thing: The photos were copies from the card to the computer, but not only to some random place. They were sorted and copied into folders according to the date they were taken. My folder scheme looked like this:
Now Camera Window doesn’t seem to want to import photos and videos from my Android devices. What a shame. I had to figure out another way. This is how it works for me. The solution uses Image Capture, AutoImport, an Folder Action Script and the freeware tool DIM. (Surely, one could have coded a nice script, but I couldn’t be bothered. There’s also some nice commercial software around, but it seemed too expensive (Hazel).)
1 Recognize that a card has been inserted or an Android device attached
Once you insert an SD card or connect an Android device, OS X recognizes the new device and acts the way you told it to act in the settings of an app called “Image Capture” (“Digitale Bilder”). If you cannot find the app in Spotlight, you can find it in the applications folder of your system.
Select the device from the list on the left-hand side of the window and select the AutoImporter app (if you cannot see the selection option, press the little arrow icon).
2 Copy the files automatically into one location on the computer and delete files from card/device
Now you need to tell AutoImporter what precisely to do once it has been started by Image Capture. First you will have to locate the app. You can find it here: Mac > System > Library > Image Capture > Support > Application. Start it, go to the preferences, select your import folder (mine is called MotoGImport), and select to have the app delete the files from the camera once they have been copied (again: at your own risk and only if you want this).
Now, once you insert your card/attach your device, “Image Capture” will recognise this, invoke AutoImporter, which will copy the files to your import folder on your computer and delete the files on your camera/SD card. If you are happy with the choices to create and sort into folders in AutoImport, you can have AutoImport do everything and you are done here. I wasn’t happy with the choices. This is why there is step 3.
3 Sort and copy the files into the proper location in the archive
Mac OS X can automatically observe folders and act upon “folder action”, e.g. if there are new files in a folder. Topher Kessler explains how this works over at MacIssues. Please read.
You can then create an apple script. I have used the “add – new item alert” and changed it in the script editor (you’ll probably have to save your script elsewhere and then move it to where the other scripts are: Library > Scripts > Folder Action Scripts). My script looks like this:
on adding folder items to this_folder after receiving added_items
tell application "Terminal"
do script "/Applications/dim -p; exit;"
end adding folder items to
As you can see, the script basically invokes an app called DIM.
DIM is an app by Alan Light. You can get it here. There is a manual that will explain everything in detail. Please donate some money to Alan if you like the tool.
Now once I connect my Android phone or plug in an SD card, Image Capture will see this and start AutoImport, which will import the photos to the import folder. Folder Actions will see the new files in the folder and start DIM. DIM will move the files to their target destination. Done.
This is a solution without any clicking and it works with all devices. If your camera appears as a folder, you only need DIM and nothing else.
I imagine there are easier ways to get the job done, if you know any, please comment.