Skip to content

Instantly share code, notes, and snippets.

@fragrusti
Created July 11, 2018 13:30
Show Gist options
  • Select an option

  • Save fragrusti/aa9cea84aed2c3cff542851e90cd7312 to your computer and use it in GitHub Desktop.

Select an option

Save fragrusti/aa9cea84aed2c3cff542851e90cd7312 to your computer and use it in GitHub Desktop.
[Multiple rename via bash] Add extension 'foo' to multiple files via sh #bash #sh #for #cli
for f in *; do mv "$f" "$f.foo"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment