update command

Started by linuxline, January 17, 2022, 11:49:02 AM

Previous topic - Next topic

linuxline

I was looking for the update command to update exiftool version inn the documentation and installation instructions. I could not find it. I am on linux.
thank you

Phil Harvey

To update, just install the new version.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

There isn't a built in update command, it has to be done manually.  Or you could script something up using cURL and 7zip.  All you need to do is extract the archive into the proper location, overwriting the previous version.

As an example, this thread has a couple Windows PowerShell scripts to download and update exiftool.  The basic idea is

  • Get the current local exiftool version using exiftool -ver
  • Get the newest version number from http://www.exiftool.org/ver.txt and compare
  • If exiftool has been updated, download newest version with cURL.  The link to the newest version is always the same, only with an updated version number
  • Extract into the correct location
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

(OK, what StarGeek said)  ;)
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

linuxline


linuxline

Quote from: StarGeek on January 17, 2022, 12:02:06 PM
There isn't a built in update command, it has to be done manually.  Or you could script something up using cURL and 7zip.  All you need to do is extract the archive into the proper location, overwriting the previous version.

As an example, this thread has a couple Windows PowerShell scripts to download and update exiftool.  The basic idea is

  • Get the current local exiftool version using exiftool -ver
  • Get the newest version number from http://www.exiftool.org/ver.txt and compare
  • If exiftool has been updated, download newest version with cURL.  The link to the newest version is always the same, only with an updated version number
  • Extract into the correct location

Thank you