Hi there
Im trying to find a way to test whether the last modified time is older than 1 day or not
so
#!/bin/bash
if [ $my_static_file has a last modified date of within the last 24 hrs ] ; then
$TOUCHED = "recently"
else
$TOUCHED = "not so recently"
fi
ive seen loads of posts where people are using find and the -mtime property but i dont thats applicable in my case, as I have a static file that i want to test every day
is this an easy thing to do?
any help would be great