Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save heluvaguy/7167486 to your computer and use it in GitHub Desktop.
Save heluvaguy/7167486 to your computer and use it in GitHub Desktop.
Remove (delete) an extension from all files
for f in *.txt; do mv $f `basename $f .txt`; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment