And another way to do it if your find doesn't support printf
find . -type f | xargs ls -al | awk -v pwd="$PWD" '{ print $(NF-2), $(NF-1) , pwd substr($(NF), 2)}'
Note: This only works as long as there aren't any spaces in the filenames. Output looks like this:
2010-09-29 22:08 /home/nifle/ac.txt
2010-10-04 16:02 /home/nifle/array.sh
2010-10-05 23:32 /home/nifle/b.txt
2010-12-15 16:49 /home/nifle/barcopy/subbar/ghut
2010-12-15 16:48 /home/nifle/bardir/subbar/ghut
2010-09-29 22:16 /home/nifle/foo.gz
2010-09-29 22:16 /home/nifle/foo1.gz
1As long as there aren't any spaces in the filenames. – Paused until further notice. – 2011-01-03T12:07:56.387
@Dennis - Ahh, yes you definitely have a point there. – Nifle – 2011-01-03T12:10:16.917