List all files older than x days only in current directory
You can use find . -maxdepth 1
to exclude subdirectories.
You can do this:
find ./ -maxdepth 1 -type f -mtime +30 -print
If having problems, do:
find ./ -depth 1 -type f -mtime +30 -print