I have a folder /users/my/folder
which contains many folders which all have names that end with _STAGE copy
. I would like to remove the end of the folder name _STAGE copy
and keep everything before it in the folder name.
I have found examples to provide the before/after name, but none that will remove a particular string in bulk from many folders within a directory.
This seems painfully simple but I'm having a hard time figuring it out