can anyone help me?
I need a script that can read a file that has a list of dirs. Then list out all the files, sub dirs, and files in the sub dirs to a new file. Does anyone know how to do this?
example input file
/opt/netscape
/opt/program1
example output file
/opt/netscape
/opt/netscape/file1
/opt/netscape/file2
/opt/netscape/dir1
/opt/netscape/dir1/file1
/opt/program1
/opt/program1/file1
/opt/program1/dir1
/opt/program1/dir1/dir
/opt/program1/dir1/dir/file
I need a script that can read a file that has a list of dirs. Then list out all the files, sub dirs, and files in the sub dirs to a new file. Does anyone know how to do this?
example input file
/opt/netscape
/opt/program1
example output file
/opt/netscape
/opt/netscape/file1
/opt/netscape/file2
/opt/netscape/dir1
/opt/netscape/dir1/file1
/opt/program1
/opt/program1/file1
/opt/program1/dir1
/opt/program1/dir1/dir
/opt/program1/dir1/dir/file