This question is closed. Reopen it to edit or answer.
how to write a program that will open directories inside of a larger directory and execute a script inside each?
1 view (last 30 days)
I have a large data set to work with and I am hoping to write a code that will automate the process of changing directories. The directory which contains the subdirectories with the data files is
Inside of the LaserStripping-05-03 directory are ~1000 other directories which contain the data I need to process. So once I am in the directory
for example, I can then execute my script from the command line. My question is, how do I write a code that will go into a directory, execute a script, go back up one directory, and then repeat for the next sub-directory down the line?