command to know files modified morethan 30 min

Hi,

i use ksh and want to know the command for gettting the files which were not modified in last 30 min.

find . -name <filename > -mtime 0.0209 is not giving the results.

Thanks ,
Mohan

Try search
find+touch+newer
for this forum. Lot of example how to make timestamp file and use it.

This code give example howto make -30 min timestamp.

day=$(date '+%Y%m%d')
hh=$(date '+%H')
mm=$(date '+%M')
((mm=mm-30))
(( mm < 0 )) && ((mm=60+mm)) && ((hh-=1))
(( hh < 0 )) && hh=0 && mm=0 # or you need day-1 also ...

((mm < 10 )) && mm="0$mm"
((hh < 10 )) && hh="0$hh"
timestamp="$day$hh${mm}00"
# now use touch -m to set some tmpfile and use find

Try this....

 
find . -mmin +30 -type f

If your version of find does not support the mmin option,
you can use Perl:

find . -type f -exec perl -le'
  (30/1440) > -M and print for @ARGV
  ' {} +