Download using wget to keep metadata.

A picture metadata can change, example dates, if you download a picture directly from a browser. I recommend downloading the content using wget.

Download from browser

1. In this case we can see a recent date (File modification date/time)

  • ls -l needle.jpg
  • date
  • exiftool needle.jpg

Download using wget

1. In this other scenario, the last modification time will show as the original. An older date.

  • wget http://10.10.10.115/needle.jpg
  • ls -l needle.jpg.1
  • exiftool needle.jpg.1