Here’s a quick way to get a recursive list of files, sorted in descending order by the last modified date, from any folder in *nix:
find . -type f -printf "%T@ %p\0" | sort -zk1nr | xargs -0 printf "%s\n"
Here’s a quick way to get a recursive list of files, sorted in descending order by the last modified date, from any folder in *nix:
find . -type f -printf "%T@ %p\0" | sort -zk1nr | xargs -0 printf "%s\n"