G+_Jordan Orosco Posted April 30, 2017 Share Posted April 30, 2017 This is my first time posting here, I want to know if its possible to write a script or in someway automate importing photos from my sd card into windows. I use windows 10 and I shoot in raw plus jpeg and would like to automatically sort them into separate folders on import. Is there a way to do this? If so, since my current level of programing knowledge consists of having dropped out of a basic c++ and fortran class in college in 2000, where do I learn how to do this? Thanks a lot. Link to comment Share on other sites More sharing options...
G+_Julian Divett Posted April 30, 2017 Share Posted April 30, 2017 I've used xcopy and a simple bat file in the past for this kind of thing Link to comment Share on other sites More sharing options...
G+_David Peach Posted April 30, 2017 Share Posted April 30, 2017 The way I would do it is to manually dump all the files from the SD card into a folder. Then I would have my script (either Python or bat script) separate and move them. Python might be able to handle the first step too of automatically importing into your staging folder from the SD card. You don't always want your photos to go into the same folder, so you can have your script ask you where to put them as part of the import. Where to learn to do this? One book I've read that is helpful is called "Automate the Boring Stuff with Python." If you don't want to buy it, you can probably get it through your library or their inter library loan system. Link to comment Share on other sites More sharing options...
G+_Ben Reese Posted April 30, 2017 Share Posted April 30, 2017 I think there are a few tools that can do this out of the box - including the importer built into Windows. My parents use the Canon Camera utility, but they sort into folders by day. Google's Picasa has an Import Photos option. On the other hand, I don't want to discourage you from trying it with a script. PowerShell is a great language for this. Link to comment Share on other sites More sharing options...
G+_Jordan Orosco Posted April 30, 2017 Author Share Posted April 30, 2017 Thank you, I'll look into those options. I appreciate the book recommend I'll see if my library has it. Also I'll look into the Canon utility. I would like to learn a little about scripting and thought this would be a good project but if I get a little hung up on it I'll keep the Canon utility in mind. Link to comment Share on other sites More sharing options...
G+_Jim Hofmann Posted April 30, 2017 Share Posted April 30, 2017 Open File Explorer, Click on Type at the top. This will sort by type then click on the first jpeg file, scroll down to the last jpeg file, hold the shift key and click on the last jpeg file. Right click, select Copy (or Cut). Go to the Jpeg folder on the C drive and Right click Paste. Or open a open a cmd window. Type: XCOPY X:\sdsource\photos\*.jpeg c:\UserDest\MyPhotos\jpeg then repeat for raw. Hope this is helpful. Link to comment Share on other sites More sharing options...
G+_Jason Perry Posted May 2, 2017 Share Posted May 2, 2017 David Peach?, I want to find that book now. Link to comment Share on other sites More sharing options...
G+_Jason Perry Posted May 2, 2017 Share Posted May 2, 2017 Well found the book and a lot more I want to read. Down the rabbit hole I go. automatetheboringstuff.com - Automate the Boring Stuff with Python Link to comment Share on other sites More sharing options...
G+_David Peach Posted May 2, 2017 Share Posted May 2, 2017 Jason Perry? it's a good book. Probably not the best intro to Python but, if I remember right, you've already been playing with it. Enjoy. Link to comment Share on other sites More sharing options...
G+_Jordan Orosco Posted May 23, 2017 Author Share Posted May 23, 2017 Jim Hofman Thanks for the command prompt, thats exactly what i was looking for. I will use that next time I upload some pictures. Thanks again. Link to comment Share on other sites More sharing options...
G+_Jordan Orosco Posted August 26, 2017 Author Share Posted August 26, 2017 Jim Hofmann Thanks again for showing me how to use xcopy it took me a little bit to figure it out, I kept using *.jpeg and getting errors until I looked closely and realized what I needed to use was *.jpg then it all worked beautifully. Thank you again its been very helpfull. Link to comment Share on other sites More sharing options...
G+_Jim Hofmann Posted August 26, 2017 Share Posted August 26, 2017 So close. :) If you do this regularly, open Notepad type in the same thing and save as IE. CopyPhotos.bat. As long as the SD shows up in the same place you can just double click. Link to comment Share on other sites More sharing options...
Recommended Posts