Can anyone help me with the following:
I need to traverse subdirectories to create a list of files with the pathname. For example, here's what I get with a simple ls -alR command:
/MAIN/data/30007390 dte2>>ls -alR
.:
total 2
drwxrwx--- 4 ecfadmin staff 96 Oct 24 18:35 .
drwxrwx--- 37 ecfadmin staff 1024 Oct 24 18:35 ..
drwxrwx--- 2 ecfadmin staff 96 Oct 24 18:35 GroupB
drwxrwx--- 2 ecfadmin staff 96 Oct 24 18:35 GroupA
./GroupB:
total 8
drwxrwx--- 2 ecfadmin staff 96 Oct 24 18:35 .
drwxrwx--- 4 ecfadmin staff 96 Oct 24 18:35 ..
-rwxrwx--- 1 ecfadmin staff 1968 Oct 24 18:35 02050506.GZ
-rwxrwx--- 1 ecfadmin staff 1976 Oct 24 18:35 02050720.GZ
./GroupA:
total 20
drwxrwx--- 2 ecfadmin staff 96 Oct 24 18:35 .
drwxrwx--- 4 ecfadmin staff 96 Oct 24 18:35 ..
-rwxrwx--- 1 ecfadmin staff 9453 Oct 24 18:35 05050602.GZ
What I would like to get back is something with the full path name and file name:
/MAIN/data/30007390/GroupB/02050720.GZ
/MAIN/data/30007390/GroupB/02050506.GZ
/MAIN/data/30007390/GroupA/05050602.GZ
*Permissions, primary and secondary group names, dates times and sizes are not needed but don't have to be excluded.
I'm looking for something pretty straight forward, I could write a little shell to handle it but was hoping for something a little more elegant. (I was hoping there was a version (or option) of �ls� out there that might do it).
Any help would be appreciated.