Created
July 5, 2023 14:15
-
-
Save kaspermunch/e2d5ce3f7aa863155329c4cfb324af14 to your computer and use it in GitHub Desktop.
Change suffix on a bunch of files in a tree
This file contains 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 file in `find codeml/steps/codeml -name '*.txt'`; do | |
echo mv -- "$file" "$(dirname "$file")/$(basename -- "$file" .txt)_site.txt" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment