View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-12-2012, 07:37 AM   #1
Registered: May 2009
Posts: 181
Blog Entries: 9

Rep: Reputation: 15
A tip regarding Exiv2 on the command line

To preserve the original file modified date and time and execute an EXIV2 command on the file, use the -k (keep modified date) option.

An example:
exiv2 -kM"set Iptc.Application2.ObjectName Dribble Glasses" 16oz_green.jpg
I was inspired to start this thread by reading this thread, where neither the OP nor the only person replying seemed to know there was a way to do this.

This probably would have made a better entry in my blog on LQ. Maybe at some point I'll "clone" it to that blog.



bash, console, date, exiv2, modified

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
TIP: Reducing PDF file size from the command line with GhostScript (gs) ShellyCat Linux - Newbie 3 07-12-2012 05:11 AM
[SOLVED] Cursor does not move to the bottom line and overwrite to same line on command line mesuutt Linux - Newbie 3 02-25-2012 09:04 AM
is there any equivalent for ndd ,p tree and tip command ? balakodoth Linux - Software 2 12-21-2010 05:49 AM
TIP - happy with the 'ls' command output? bashyow Linux - Newbie 10 08-19-2008 04:48 PM

All times are GMT -5. The time now is 04:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration