List recently modified files recursively

PHOTO EMBED

Wed May 11 2022 07:05:32 GMT+0000 (UTC)

Saved by @LavenPillay #bash

#!/bin/bash
find $1 -type f -exec stat --format '%Y :%y %n' "{}" \; | sort -nr | cut -d: -f2- | head
content_copyCOPY

https://stackoverflow.com/questions/5566310/how-to-recursively-find-and-list-the-latest-modified-files-in-a-directory-with-s