I have a folder with a series of files named:
prefix_1234_567.png prefix_abcd_efg.png
I\'d like to batch remove one underscore and
To rename files, you can use the rename utility:
rename
brew install rename
For example, to change a search string in all filenames in current directory:
rename -nvs searchword replaceword *
Remove the 'n' parameter to apply the changes.
More info: man rename
man rename