Skip to content

Instantly share code, notes, and snippets.

@nak3
Created April 30, 2014 00:34
Show Gist options
  • Save nak3/f6f3edfa25f83ef539a3 to your computer and use it in GitHub Desktop.
Save nak3/f6f3edfa25f83ef539a3 to your computer and use it in GitHub Desktop.
for filename in *.c ; do
mv $filename ${filename%.c}.cpp;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment