The "-d" was already part of the code being used, but the "-d" does not recursively search the directories.