Created
October 23, 2018 15:00
-
-
Save sodonnell/11e2ea3357b8ada3023734f33f240262 to your computer and use it in GitHub Desktop.
Batch-renaming Files in Bash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| for i in rc_*; do mv $i ${i/rc_/rc2_}; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment