Question: Task 3 You're to create a shell script (a bash script to be more specific) called rename.sh. It should rename all files of a certain

Task 3 You're to create a shell script (a bash script to be more specific) called rename.sh. It should rename all files of a certain type within the current directory to a new provided name concatenated with a number. For instance, given the following command: /rename.sh jpg my_im .then all the the .jpg files in the current directory will be renamed to: my_im001.jpg my_im002.jpg my_im003.jpg [and so on..] Thus, the first parameter is the file extension and the second parameter is the name prefix. If the user inputs more than two parameters, print out: Illegal number of parameters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
