Search the entire file system starting from the root directory for any files containing the string '[YYYYMMDD]' and execute the grep command on each file found.
find / -exec grep -s '\[YYYYMMDD\]' {} \;