Skip to content

Instantly share code, notes, and snippets.

@JacobCallahan
Created August 24, 2017 17:48
Show Gist options
  • Save JacobCallahan/96b26b99e294e0dda1ea7c88c244f382 to your computer and use it in GitHub Desktop.
Save JacobCallahan/96b26b99e294e0dda1ea7c88c244f382 to your computer and use it in GitHub Desktop.
useful bash commands
1. Rename all files that start with a single _ to start with a single .
find . -type f -name "_[^_]*" -exec rename _ . {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment