Find files with filedate within last 5 minutes

Sometime I forget where I saved a file to.

How would I do a search for files that were created within the last 5 minutes ?

As far as I know, this is not possible without setting up some form of inotify logging of a directory beforehand.

Check this out:

Thanks.
What do you think about this?

  find /media/andy/MAXTOR_SDB1/Linux_Files/ -iname "*.zip" -mmin -5 -print

-mmin is for date of last modification, not of file creation.

On ext4 you can get file creation timestamp with little work as explained here https://moiseevigor.github.io/software/2015/01/30/get-file-creation-time-on-linux-with-ext4

ouroumov interesting I didn’t know about inotify-tools

Thanks. How do I stop the last inotifywait instance?
I can not understand how to use inotify_rm_watch.

andyk_~/Downloads$ ps -p $(find /proc/*/fd/* -type l -lname 'anon_inode:inotify' -print 2> /dev/null | sed -e 's/^\/proc\/\([0-9]*\)\/.*/\1/')
  PID TTY      STAT   TIME COMMAND

  6125 ?        S      0:00 inotifywait -m -r -e create --format %w%f /home/
 6553 ?        SNl    0:00 /usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd
 6595 ?        S      0:00 inotifywait -m /home/andy/Downloads --format %w%