Created
May 24, 2023 16:20
-
-
Save monkseal/ed0f82f001e37b3b113b659806862aa1 to your computer and use it in GitHub Desktop.
Rename _test.py to test_...py
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
for f in *_test.py; do mv "$f" "$(echo "$f" | sed 's/_test.py/.py/' | sed 's/^/test_/')"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment