From Sludgy Agouti, 2 Weeks ago, written in Python.
  1. import glob, os
  2. os.chdir("/home/slee/Pictures/")
  3. for file in glob.glob("*.jpg"):
  4.     print('"' + file + '",')
captcha