Skip to content

Instantly share code, notes, and snippets.

@mmmaly
Created October 6, 2014 22:32
Show Gist options
  • Save mmmaly/7a02d765b08827913254 to your computer and use it in GitHub Desktop.
Save mmmaly/7a02d765b08827913254 to your computer and use it in GitHub Desktop.
update stands command
for i in *.jpg; do s=${i%.jpg}; echo UPDATE stands set standPhoto=\"stands/$s.jpg\" where standName=\"$s\"\; ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment