Skip to content

Instantly share code, notes, and snippets.

@mustafaturan
Created August 24, 2017 09:33
Show Gist options
  • Save mustafaturan/cbda509d235a2d7bb4e3e946b10f7b59 to your computer and use it in GitHub Desktop.
Save mustafaturan/cbda509d235a2d7bb4e3e946b10f7b59 to your computer and use it in GitHub Desktop.
Copy all .example files in a folder with removal of .example extension.
for f in *.example; do
cp -- "$f" "${f%.example}"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment