I have a directory with a bunch of subdirectories with a bunch of files with the extension .no_sub
.
I want to rename every file with extension .no_sub
to the same name with .no_sub
removed.
So foo.no_sub
→ foo
.
Can I do this in Bash? (I am on Ubuntu 20.04)