What is the good way to add file extension \".jpg\" to extension-less files with bash?
Simple, cd to the directory where your files are and:
for f in *;do mv $f $f.jpg;done