ahop
June 13th, 2009, 07:50 PM
I am a self-taught (amateur) programmer, sticking to PHP and javascript for web-programming. I suppose I could build the application I am looking for with PHP, but really my needs are for a very simple script. Here is what I am looking for:
I am looking to create a script that I can execute to pull all the images from my camera's SD card and save them in two places: (a) an external backup drive, (b) my local hard drive. I am not sure what language would be best, and if anyone can help me put together something, I would be very grateful.
The images are stored as
/path/to/SD/Card/101_0613/IMG00001.PEF
Note that the folder is saved with a number (101) followed by the month and date; file extension is capitalized
I would like them saved as
/path/to/local/drive/for/processing/IMG00001.pef and
/path/to/external/drive/for/archive/200906/IMG00001.pef
Note the folder has been changed to year and month; file extension is now lower case
If anyone has any thoughts on how to start (what language?) or any code snippets that would be awesome.
I am looking to create a script that I can execute to pull all the images from my camera's SD card and save them in two places: (a) an external backup drive, (b) my local hard drive. I am not sure what language would be best, and if anyone can help me put together something, I would be very grateful.
The images are stored as
/path/to/SD/Card/101_0613/IMG00001.PEF
Note that the folder is saved with a number (101) followed by the month and date; file extension is capitalized
I would like them saved as
/path/to/local/drive/for/processing/IMG00001.pef and
/path/to/external/drive/for/archive/200906/IMG00001.pef
Note the folder has been changed to year and month; file extension is now lower case
If anyone has any thoughts on how to start (what language?) or any code snippets that would be awesome.