I have a file that contains filenames like this:
my_cool_file.xxx
my_cool_file2.xxx
my_cool_file3.xxx
I have a folder that has:
some_file.xxx
some_file2.xxx
some_file3.xxx
I would like to have a bash script to take one line from the filename file and rename one file in the folder.
Is there a way to do this?