• ExifTool

    From Ar@Ar@127.0.0.1 to alt.os.linux.mageia on Mon Nov 10 12:21:02 2025
    From Newsgroup: alt.os.linux.mageia

    A few days after a day out I saw that the GPS has a (integer) fault
    which made it forget what the current date is (the time was correct). It therefore automatically changed the cameras date / time to what the GPS
    was using, and inserted hundreds of photos with the wrong date.

    I have looked up exiftool, but not found any appropriate examples or
    details to change the shooting date.

    Using Konsole I ran this on an example photo >

    exiftool -createdate '/home/someuser/Documents/Flickr/Concours - 01.jpg' Create Date : 2006:03:18 07:55:28

    Does anyone know how to change the date to 2025 11 01 .. the time in all photos is correct.

    Thanks
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From David W. Hodgins@dwhodgins@nomail.afraid.org to alt.os.linux.mageia on Mon Nov 10 13:59:43 2025
    From Newsgroup: alt.os.linux.mageia

    On Mon, 10 Nov 2025 07:21:02 -0500, Ar <Ar@127.0.0.1> wrote:

    A few days after a day out I saw that the GPS has a (integer) fault
    which made it forget what the current date is (the time was correct). It therefore automatically changed the cameras date / time to what the GPS
    was using, and inserted hundreds of photos with the wrong date.

    I have looked up exiftool, but not found any appropriate examples or
    details to change the shooting date.

    Using Konsole I ran this on an example photo >

    exiftool -createdate '/home/someuser/Documents/Flickr/Concours - 01.jpg'
    Create Date : 2006:03:18 07:55:28

    Does anyone know how to change the date to 2025 11 01 .. the time in all photos is correct.

    You'll need to write a script to loop through the images, figure out what the date should be
    and then change it.

    Copy one of the images somewhere to experiment with. Test changing the date using
    exiftool -FileModifyDate="2023:05:20 07:23:05+01:00" test.jpg

    Replace the date and file name as appropriate.

    Regards, Dave Hodgins
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From faeychild@faeychild@nomail.afraid.org to alt.os.linux.mageia on Thu Nov 13 06:55:17 2025
    From Newsgroup: alt.os.linux.mageia

    On 11/11/25 05:59, David W. Hodgins wrote:


    Replace the date and file name as appropriate.

    Regards, Dave Hodgins

    This is one of those situations where the Bit Twister would have created
    an elegant script
    R.I.P
    --
    faeychild
    Running kde on 6.6.105-desktop-1.mga9 kernel.
    Mageia release 9 (Official) for x86_64
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Ar@Ar@127.0.0.1 to alt.os.linux.mageia on Wed Nov 19 14:06:03 2025
    From Newsgroup: alt.os.linux.mageia

    On 10/11/2025 18:59, David W. Hodgins wrote:

    Copy one of the images somewhere to experiment with. Test changing the
    date using
    exiftool -FileModifyDate="2023:05:20 07:23:05+01:00" test.jpg
    Thanks Dave, what you wrote has been of great help. Not solved the
    problem, but getting there. :)
    --- Synchronet 3.21a-Linux NewsLink 1.2