Skip to content

Instantly share code, notes, and snippets.

@firemonk9
Created February 24, 2020 20:05
Show Gist options
  • Save firemonk9/eacc9476e109b5def881287d55e3e2a5 to your computer and use it in GitHub Desktop.
Save firemonk9/eacc9476e109b5def881287d55e3e2a5 to your computer and use it in GitHub Desktop.
bash command to remove special chars from file names
for file in *; do mv "$file" "${file//[ ()@$]/_}" ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment