If you’re on Linux exiftool can get the creation date for you: exiftool -p ‘$CreateDate’ -d ‘%Y-%m-%d’ FILENAME, and you could run tgat in a loop over your files, something like:
<span style="color:#323232;">mkdir -p out
</span><span style="color:#323232;">for f in *.jpg
</span><span style="color:#323232;">do
</span><span style="color:#323232;">createdate=$(exiftool -p '$CreateDate' -d '%Y-%m-%d' "${f}")
</span><span style="color:#323232;">cp -p "${f}" "out/${createdate} - ${f}"
</span><span style="color:#323232;">done
</span>
Obviously don’t justbgo running code some stranger just posted on the internet, especially as I haven’t tested it, but that should copy images from the current directory to a subdirectory called ‘out’ with the correct filenames.