TekiePrincess
Programmer
I need to create a shell script to perform the following task:
1. Loop through a directory and ororead the file name of the .txt file and save it as a variable.
2. Read the line of that .txt file and from the first " to the last " save that information as a variable.
3. Other processes will be done then the file will be renamed to that of the second variable and saved to another directory.
Can someone please guide me in the right direction to get this done. I am very new to unix scripting and having a hard time with the variable portion of this task.
1. Loop through a directory and ororead the file name of the .txt file and save it as a variable.
2. Read the line of that .txt file and from the first " to the last " save that information as a variable.
3. Other processes will be done then the file will be renamed to that of the second variable and saved to another directory.
Can someone please guide me in the right direction to get this done. I am very new to unix scripting and having a hard time with the variable portion of this task.