List Info

Thread: Copy tagsfromfile between directories?




Copy tagsfromfile between directories?
user name
2006-02-24 06:43:53
<code>I have a related syntax question now:

What I want to do is copy exif data from pictures that are
spread amongst several directories, all branching from a
common root.  The target files (to receive the exif data)
are named identically to the source files, but all reside in
a single directory.

In other words:
C:\dir1\file1.jpg
C:\dir2\file2.jpg

contains EXIF data that I want copied into the files
D:\dirx\file1.jpg
D:\dirx\file2.jpg

I could do

exiftool -tagsfromfile c:\dir1\%f.jpg -ext jpg d:\dirx
exiftool -tagsfromfile c:\dir2\%f.jpg -ext jpg d:\dirx

to accomplish my goal, but since I've got 50+ directories
for the source exif data, I'd like to find a way to
automate this.  I tried a few variations on the -r option,
but had no luck.

Can I get to where I want with a single command line
instruction?

Many thanks,
Mike</code>



To write a respons, access
http://ww
w.cpanforum.com/response_form/1843

To see the full thread, access
http://www.cpan
forum.com/threads/1749

--
You are getting this messages from www.cpanforum.com
To change your subscription information visit http://www.cpanforum.
com/mypan/

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )