I have a directory:
How do I script up a way to create a text file that will be:
Thus it dynamically reads anything after the /app, then puts the first directory in the first column, then the second in the second column. If there is multiple subdirectories after the /app then it just builds new lines for each one. Then it just keeps going until it no more directories exist in the /app directory. It ignores all directories that begin with 'z_' .