I have hundreds fast.gz files, and they have the same format of file name:
How do I change the first and the second underscores to dots? eg:
without changing the remaining underscores?
I have tried
rename 's/_GWU_DNA/\.GWU\.DNA/' *gz, it didn't change anything. So I'm thinking about a for loop, any idea? Thank you!