building on this questiion and answer here
#!/bin/bash
find $1 -type f -exec stat --format '%Y :%y %n' "{}" \; | sort -nr | cut -d: -f2- | head
how do I alter this so that it searches for *.html
files
building on this questiion and answer here
#!/bin/bash
find $1 -type f -exec stat --format '%Y :%y %n' "{}" \; | sort -nr | cut -d: -f2- | head
how do I alter this so that it searches for *.html
files
think thisis what I am looking for
find $1 -name '*.html' -type f -exec stat --format '%Y :%y %n' "{}" \; | sort -nr | cut -d: -f2- | head