find . -type f -exec ls -ltr {} \; > /tmp/files.txt

Advertisements