User-agent: * Disallow: /*.pdf$ Allow: [the URL path in of a subdirectory, within a blocked parent directory, that you want to unblock]