Skip to content

Instantly share code, notes, and snippets.

@1-800-jono
Created January 10, 2019 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 1-800-jono/e0f0f6ccc6bee6411d5bc79b40e441d6 to your computer and use it in GitHub Desktop.
Save 1-800-jono/e0f0f6ccc6bee6411d5bc79b40e441d6 to your computer and use it in GitHub Desktop.
Add prefix to files in a directory
for file in *.png; do mv "$file" "prefix-we-want-$file"; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment