A Photography forum. PhotoBanter.com

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PhotoBanter.com forum » Digital Photography » Digital Photography
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Is there a way to COPY EXIF information from one JPG to another inLinux?



 
 
Thread Tools Display Modes
  #1  
Old October 15th 14, 12:54 AM posted to alt.os.linux,rec.photo.digital
Tourgueniev
external usenet poster
 
Posts: 7
Default Is there a way to COPY EXIF information from one JPG to another inLinux?

Is there a way to COPY EXIF information from one JPG to another in Linux?

Something like:
$ copy pic1.exif.jpg pic2.exif.jpg

where the result is that the EXIF information is copied from picture 1 to
picture 2.
  #2  
Old October 15th 14, 12:58 AM posted to rec.photo.digital
philo [_3_]
external usenet poster
 
Posts: 59
Default Is there a way to COPY EXIF information from one JPG to anotherin Linux?

On 10/14/2014 06:54 PM, Tourgueniev wrote:
Is there a way to COPY EXIF information from one JPG to another in Linux?

Something like:
$ copy pic1.exif.jpg pic2.exif.jpg

where the result is that the EXIF information is copied from picture 1 to
picture 2.




Maybe here

http://askubuntu.com/questions/9341/...an-exif-editor
  #3  
Old October 15th 14, 01:05 AM posted to alt.os.linux,rec.photo.digital
nospam
external usenet poster
 
Posts: 24,165
Default Is there a way to COPY EXIF information from one JPG to another in Linux?

In article , Tourgueniev
wrote:

Is there a way to COPY EXIF information from one JPG to another in Linux?

Something like:
$ copy pic1.exif.jpg pic2.exif.jpg

where the result is that the EXIF information is copied from picture 1 to
picture 2.


get exiftool, which works on mac/windows/linux:

http://www.sno.phy.queensu.ca/~phil/exiftool/
  #4  
Old October 15th 14, 07:08 AM posted to alt.os.linux,rec.photo.digital
Tourgueniev
external usenet poster
 
Posts: 7
Default Is there a way to COPY EXIF information from one JPG to anotherin Linux?

On Tue, 14 Oct 2014 20:05:40 -0400, nospam wrote:

get exiftool, which works on mac/windows/linux:


You gave me a great keyword to search for examples!

Searching on "exiftool", I immediately found this:
http://thomer.com/howtos/copy_exif.html

The very first test worked perfectly!
$ exiftool -TagsFromFile old.jpg new.jpg

This copied the EXIF data perfectly from old.jpg to new.jpg!

Of course, I should now be able to modify that EXIF data slightly, but
that's the next step to learn (which I had not originally asked about).
  #5  
Old October 15th 14, 08:25 AM posted to alt.os.linux,rec.photo.digital
Floyd L. Davidson
external usenet poster
 
Posts: 5,138
Default Is there a way to COPY EXIF information from one JPG to anotherin Linux?

Tourgueniev wrote:
The very first test worked perfectly!
$ exiftool -TagsFromFile old.jpg new.jpg

This copied the EXIF data perfectly from old.jpg to new.jpg!

Of course, I should now be able to modify that EXIF data slightly, but
that's the next step to learn (which I had not originally asked about).


A variation that is often very useful is,

$ exiftool -tagsfromfile old.jpg -tagsfromfile new.jpg new.jpg

That will retain all tags that exist in new.jpg, and add everything
from old.jpg that is not in new.jpg.

To change one specific tag,

# exiftool -tagname=new_value new.jpg

Quote text, so an example might be,

# exiftool -usercomment="Alpha Project" new.jpg

Try running exiftool with option '-s', and also '-s -s'. Notice
the difference in tag names and format, which can be useful in
making the output easier to parse.

--
Floyd L. Davidson http://www.apaflo.com/
Ukpeagvik (Barrow, Alaska)
  #6  
Old October 15th 14, 08:31 AM posted to alt.os.linux,rec.photo.digital
Tourgueniev
external usenet poster
 
Posts: 7
Default Is there a way to COPY EXIF information from one JPG to anotherin Linux?

On Tue, 14 Oct 2014 23:25:13 -0800, Floyd L. Davidson wrote:

A variation that is often very useful is,

$ exiftool -tagsfromfile old.jpg -tagsfromfile new.jpg new.jpg

That will retain all tags that exist in new.jpg, and add everything
from old.jpg that is not in new.jpg.


Oooh. Thats a good one!
Very useful!

  #7  
Old October 15th 14, 08:48 AM posted to alt.os.linux,rec.photo.digital
Tourgueniev
external usenet poster
 
Posts: 7
Default Is there a way to COPY EXIF information from one JPG to anotherin Linux?

On Tue, 14 Oct 2014 23:25:13 -0800, Floyd L. Davidson wrote:

Try running exiftool with option '-s', and also '-s -s'.


That's interesting.
The first -s shortens the names by taking away spaces.
The second (seemingly redundant) removes more white space.

thanks.
  #8  
Old October 15th 14, 04:45 PM posted to alt.os.linux,rec.photo.digital
Usenet Account
external usenet poster
 
Posts: 89
Default Is there a way to COPY EXIF information from one JPG to anotherin Linux?

I am just curious as to why you want to copy EXIF?

--

  #9  
Old October 15th 14, 09:49 PM posted to alt.os.linux,rec.photo.digital
Floyd L. Davidson
external usenet poster
 
Posts: 5,138
Default Is there a way to COPY EXIF information from one JPG to anotherin Linux?

Usenet Account wrote:
I am just curious as to why you want to copy EXIF?


Some editors don't copy all of the Exif (note that it is
not "EXIF") data. Also there is different data in RAW
files that is not in the JPEG.

But the main reason is to add or correct data in fields
such as comments, copyright, and so on. Another is to
fix lens identification tags... There are just a number
of little reasons.

--
Floyd L. Davidson http://www.apaflo.com/
Ukpeagvik (Barrow, Alaska)
  #10  
Old October 15th 14, 01:41 AM posted to alt.os.linux,rec.photo.digital
Floyd L. Davidson
external usenet poster
 
Posts: 5,138
Default Is there a way to COPY EXIF information from one JPG to anotherin Linux?

Tourgueniev wrote:
Is there a way to COPY EXIF information from one JPG to another in Linux?

Something like:
$ copy pic1.exif.jpg pic2.exif.jpg

where the result is that the EXIF information is copied from picture 1 to
picture 2.


The /exiftool/ program can be used to accomplish that,
but I wouldn't say it is "easy"! :-) You'd have to learn
a good bit about shell script programming to do it.

I've been using a script to do that for some years, so
it's fairly well tested, but it inserts
comments/copyright etc that are specific to my needs.
As written it also assumes Nikon generated files, and
for instance will read Exif data from NEF files but
refuses write to one.

I'll send you a copy of the script in email if you'd
like to have it. Send me an email telling me what
cameras you use, what name(s) might be in any copyright
notices in the original files and how you'd like
copyright notices to look when data is copied.

--
Floyd L. Davidson http://www.apaflo.com/
Ukpeagvik (Barrow, Alaska)
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to ADD EXIF information to a JPEG photo James Grady Digital Photography 9 January 25th 14 02:17 AM
exif information canon g9 shirley Digital Photography 3 April 2nd 08 07:28 AM
Extracting EXIF information Rob G Digital Photography 9 February 9th 08 03:27 PM
copy Exif from one image to another Bucky Digital Photography 16 December 24th 06 08:24 PM
EXIF data - can it be transfered during copy-n-paste? Ray Fischer Digital Photography 0 October 15th 05 06:01 AM


All times are GMT +1. The time now is 10:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PhotoBanter.com.
The comments are property of their posters.