I want to sort only files by update dates including sub-directories.
I found out ls -lrtR | grep ^-
. but it doesn't seem to sort by update dates.
And I need to save this list into a file. Is it possible?
Apr 01 2010 InsideDoosanServiceImpl.class // in A directory
Apr 08 2010 MainController.class // in B directory
Apr 07 2010 RecommendController.class // in B directory
Apr 01 2010 MainDao.class // in B directory
I mean the whole list is not ordered by date, but first ordered by folder, and ordered by date.
I want a list first ordered by date including all sub-directories.