$ find /home/mydir/myanotherdir/ -type f -printf '%T+ %p\n' | sort | head -n 1
Thanks to:
https://www.ostechnix.com/find-oldest-file-directory-tree-linux/
$ find /home/mydir/myanotherdir/ -type f -printf '%T+ %p\n' | sort | head -n 1
Thanks to:
https://www.ostechnix.com/find-oldest-file-directory-tree-linux/