To exclude just one directory (and its subdirectories), say, the /images/ directory, the file should look like this: User-agent: * Disallow: /images/ Disallow: *.css