Skip to content

Instantly share code, notes, and snippets.

@mark-hallman
Created March 9, 2019 23:26
Show Gist options
  • Select an option

  • Save mark-hallman/4946e537d58f1f01761d72cbc990a88c to your computer and use it in GitHub Desktop.

Select an option

Save mark-hallman/4946e537d58f1f01761d72cbc990a88c to your computer and use it in GitHub Desktop.
remove blanks from filenames
for f in *\ *; do mv "$f" "${f// /_}"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment