5

I'm new at exiftool and don't know whether instead of a file, I can put a URL where that file is contained. Can I?

For example:

exiftool http://www.edfr.com/images/wert_1.jpg -j /home/damaris/Desktop/metadata.json
sth
  • 222,467
  • 53
  • 283
  • 367
Luli
  • 661
  • 1
  • 6
  • 10

2 Answers2

2

try this:

wget -qO - http://www.edfr.com/images/wert_1.jpg | exiftool -j - > /home/damaris/Desktop/metadata.json
Phil Harvey
  • 390
  • 2
  • 4
  • When I try using wget, I get a "command not found" error. However, if use this modified 'piping example' from the official ExifTool documentation, 60+ tags are retuned: `url -s https://i.stack.imgur.com/kNrnd.jpg | exiftool -fast -` . – EJ Mak Aug 13 '18 at 04:22
  • What does the `-q` flag do? Doesn't this download the file entirely? Thanks! – tommy.carstensen Feb 18 '21 at 23:24
0

curl -s http://a.domain.com/bigfile.jpg | exiftool -fast -

Reference: https://exiftool.org/exiftool_pod.html#piping_examples

Josh Unger
  • 6,717
  • 6
  • 33
  • 55