Bitzenbytes.com

CompuClues Forum

  User  Password
Friday, September 10, 2010 - 06:09 AM
Search
Main Menu
Who's Online
MEMBERS ONLINE

You are an anonymous user. You can register for free by clicking here
User name
Password
 Remember me
Firefox
Get Firefox 110
Languages
Preferred language:


Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
NoClueOffline
6 Post subject: EXIF Stuff  PostPosted: May 29, 2010 - 02:45 PM
Site Admin


Joined: Jan 17, 2001
Posts: 10454
Location: Blackwood, NJ USA
Status: Offline
I've got a lot of pictures, and I'm starting to use metadata to help organize (or help search through) them.

I found lots of apps that will let you edit metadata...Reveal, even Gwenview has an editor.

I recently needed a list of filename, caption and creation date for a group of files. So far, the easiest way I've found to do that is to use exiftool, a platform-independent (yes, there's one for Windows too. Smile)command-line tool.

The command I was looking for was:

exiftool -T -filename -caption-abstract -createdate work_folder > textfile.txt

...where work_folder is the folder that contains all the images that you need the metadata from, and textfile.txt is a tab-delimited output file.

To see a list of all tags in a file, I ran:

exiftool -a -u myphoto.jpg
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
hubtonesOffline
Post subject: RE: EXIF Stuff  PostPosted: May 30, 2010 - 12:17 AM
Member


Joined: Feb 28, 2001
Posts: 1035
Location: Philadelphia, PA USA
Status: Offline
You must be renaming your pics as you store them. Otherwise exiftool would leave you with a collection of names like img0009.jpg, img0010.jpg ad-nauseam with really only the creation date to guide you. I have yet to find an easy way to do this.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
NoClueOffline
Post subject: RE: EXIF Stuff  PostPosted: May 31, 2010 - 02:52 PM
Site Admin


Joined: Jan 17, 2001
Posts: 10454
Location: Blackwood, NJ USA
Status: Offline
I don't bother renaming them. I just create folders based on the date and location (yyyy-mm-dd_place). That's why I'm starting to use metadata to describe them. There's certainly plenty of fields available to you. There's even an embedded thumbnail.

I had a couple of files that had their thumbnails hammered by the GIMP. I used jhead to regenerate the embedded thumbnails:


jhead -rgt filename.jpg

Jhead also has lots of command line options, but it too looks like it'll rename based on date/time, or file date. What would you like a renamer to do?

Jhead was available from one of the repos.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
NoClueOffline
Post subject: RE: EXIF Stuff  PostPosted: Jun 02, 2010 - 03:36 PM
Site Admin


Joined: Jan 17, 2001
Posts: 10454
Location: Blackwood, NJ USA
Status: Offline
Speaking of renaming...

I had a handful of photos that had been recovered with recoverjpeg. They were all named 'image#####', in a seemingly random order...IOW, when viewed in Konqueror, one image had nothing to do with the next.

To get them in some sort of order, I renamed them based on the DateTimeOriginal EXIF field:

jhead -n%Y-%m-%d_%H%M%S *.jpg

...which gave me filenames like '2007-12-24_103804.jpg'.

Much better. Smile
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
NoClueOffline
Post subject: RE: EXIF Stuff  PostPosted: Jun 08, 2010 - 10:59 PM
Site Admin


Joined: Jan 17, 2001
Posts: 10454
Location: Blackwood, NJ USA
Status: Offline
Grr...

I had been using Gwenview's 'Plugins->Images->Metadata->Edit EXIF' to add captions to a bunch of files.

About halfway through, I noticed Gwenview's 'Plugins->Images->Metadata->Edit Captions'. Using 'Edit Captions' will add whatever you type to JFIF Comment, EXIF Comment, XMP Caption and IPTC Caption tags.

Having a handful of protocols like that will probably mean that other apps would be more likely to see the tags.

But...I don't feel like copying/pasting the tags in each individual file. eek!

Never fear:

exiftool "-caption-abstract>comment" *.jpg

...did the copying for me. It also renamed the original files for me. IOW, myphoto.jpg is now myphoto.jpg_original, and the newly tagged file is myphoto.jpg.

Oh...almost forgot:

exiftool -a -u -g myphoto.jpg

...will show you which group each of the tags are in.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 5 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
Bugs  |  Tasks  |  Developers