Listing files in a directory recursively

I need to make a listing of the contents of a folder (including subfolders) that shows the filename, size and modified date. I realized it might be easiest to do as a shell script though, I just dont know how to format the output to include what I want. Basically, I want the output of ls -lR without the first four columns of lines showing files. Someone who knows how to use awk, please help?

ls -lR | awk ‘{if ( $1 ~ /./) print $1; else { if ($1 == “total”) print $1 " " $2; else { print $5 “t” $8 “t” $9}}}’

just need to get $9 to include spaces… ideas?

a bit of a hack:


[This script was automatically tagged for color coded syntax by Convert Script to Markup Code]