Hi all,
I would like to set up a local routine to extract exif data from images stored on a remote password protected server that requires both username and password details. How can I specify this in exiftools command line I have tried using the form USER:PWD, i.e. an unquoted string with username and password separated by a ":", but this does not work. Any hints?
Cheers,
Martin
Hi Martin,
There is nothing built into ExifTool that will allow you to do this. How do you access the file on the remote machine from the command line? If you can list the contents of the file to the terminal using any command, then you can always pipe the output of this to exiftool to extract the metadata. See "curl" piping example (https://exiftool.org/exiftool_pod.html#piping_examples) in the application documentation for an example of how this is done for a remote file using http protocol.
- Phil
hi Phil,
Thanks for the quick reply! To access the files I've so far been using the R environment for statistical computing (since I want to gather all data into this environment for subsequent analyses). This has a nice package called "RCurl" that effectively calls underlying "libcurl" routines to allow access to the image files. While this works fine, the extraction of exif data from the resulting raw data files (in HEX format) is far from trivial, so I was hoping I could use ExifTools. I'll have a look at the piping example. Thanks again!
Martin
Hi again Phil,
Thanks, the iping works great, and the output looks fine in the shell. But when I try to output this into a text file it looks completely garbled. My guess is some curl confusion with formatting, since I tried to save the text file via the curl subcommand rather than the exiftool subcommand.
What I actually want to get in the end is a list of the original date (dateTimeOriginal) of all images in a remote folder, stored in a simple text file on my local machine. Maybe this can all be achieved with exiftool, and using curl only for piping?
thanks,
Martin
Hi Martin,
With the piping you have to do one file at a time. If you will show me the command you used I may be able to help with the garble problem.
- Phil
Hi Phil,
I managed to get it to work. A silly coding error...
Thanks for all the help!
Martin