You can use readdir to get the filenames in a directory, the -f test to filter out non-file entities, and then sort based on the -M test.
Dave
In reply to Re: How to list files in dir with respect to time ?
by davido
in thread How to list files in dir with respect to time ?
by swaroop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |