Skip to content

Instantly share code, notes, and snippets.

@vtno
Created June 7, 2018 04:24
Show Gist options
  • Save vtno/2166331da465a2e2712d8108bf53ffe0 to your computer and use it in GitHub Desktop.
Save vtno/2166331da465a2e2712d8108bf53ffe0 to your computer and use it in GitHub Desktop.
for f in *.csv; do
mv -- "$f" "${f%.csv}.txt"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment