Creating a bash script and executing it on OSX
Andrew Fletcher published: 8 July 2022 (updated) 9 July 2022 2 minutes read
Creating a bash script
Bash scripts are files containing code that tell your computer to do something. In this instance, I want to rename a batch files in a directory. Such as changing:
37351001 - BlueSpotted.jpg
37351008 -SpangledEmporer _ 0133A.jpg
37353003 -Black-Bream_3481 .jpg
37353004 -35 - Yellowfin.jpg
Instead having these files appear as: