3
1
How can I generate a list of files in a directory [for example, "/mnt/hdd/PUB/"] ordered by the files modification time? [in descending order, the oldest modified file is at the lists end]
ls -A -lRt
would be great: https://pastebin.com/raw.php?i=AzuSVmrJ
But if a file is changed in a directory, it lists the full directory, so the pastebined link isn't good [I don't want a list ordered by "directories", I need a "per file" ordered list]
OS: OpenWrt [no Perl -> not enough space for it :( + no "stat", or "file" command].
Does your
find
have-printf
? By the way, don't forget to mark answers as accepted when you can and upvote as often as you can. – Paused until further notice. – 2011-02-28T16:42:00.623