Hi,
I am writing a shell script and I need to make sure files exist two levels below a current directory so I use the following conditional check:
if [ '/var/spool/postfix/deferred/\*/\*' ]
The way the script seems to be working is that if something exists at the first level is executes the script. I only want it to execute if it is two levels below.
How can I go about doing this?