can exiftool be used from any directory ?

Started by cecil123, October 13, 2023, 04:46:56 AM

Previous topic - Next topic

cecil123

What I mean by this is that when I want to use exiftool, do I need to change my current directory to where exiftool is saved. For example, if exif tool is installed in a folder called EXIF in home, will I have to enter:
cd /home/myusername/EXIF/Image-ExifTool-12.67? Or can I still use exiftool when in home directory. Sorry for the dumb question, I just moved to linux not long ago.


StarGeek

Exiftool can be in any directory that is listed in the PATH env variable.  A quick Google search shows that you can see the PATH on linux by typing
echo $PATH

This page appears to have a good explanation including how to permanently add a directory to the PATH.
"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

It should automatically be placed in the PATH if you install it on your system.

- 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 ($).