Results 1 to 5 of 5
Hello, guys!
I need some help. Since I have thousands of pictures taken in the last few years and I want to sort them, I want to do this thing, ...
- 02-17-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 4
Help needed - script for retrieving "date photo taken"
Hello, guys!
I need some help. Since I have thousands of pictures taken in the last few years and I want to sort them, I want to do this thing, in order to have the pictures in the right order. I want to write a little script that rename the picture using the date(and time) it was taken. I have some pictures, from a few years ago, and I don't even know if there are duplicates or not, because there are too many. I could use a program that finds duplicates, but I would really like to do this script. What I don't know is how to take and put in a variable the data I need. I found some coding lines for Windows, but I need it for Linux.
Thanx!
- 02-17-2009 #2
What does date mean here? Is it the timestamp of the file or is it some entry in the picture's header?
Debian GNU/Linux -- You know you want it.
- 02-17-2009 #3Just Joined!
- Join Date
- Feb 2009
- Posts
- 4
It refers to the timestamp that is stored in the metadata of the picture (for instance, in Suse 11.1, if I right-click a photo and I hit "Properties", in the "Image" tab there is all sort of information, like image type, width, height, exposure time and there is also the date the picture was taken - that's the one I need).
Thanks!
- 02-17-2009 #4
In that case you should poke around at
ImageMagick: Convert, Edit, and Compose Images
They have many tools for extracting information out of images, very feasible for scripting.Debian GNU/Linux -- You know you want it.
- 02-17-2009 #5Just Joined!
- Join Date
- Feb 2009
- Posts
- 4
Thank you very much!


Reply With Quote