2

(The original title of this question was "Image directory or Images directory?" I changed it later.)

As I know, we say

  • car park
  • train station
  • bookshelf

I.e. the words "park", "station", "shelf" are singular.

What is the correct way to refer to the directory that contains different images:

  • image directory or
  • images directory?

Note that I don't talk about the proper name. The proper name is Foo.

C:\Foo\
    |-- a.png
    |-- b.png
    |-- c.png
    |-- d.jpg
    |-- e.jpg
    |-- f.jpg
    |-- etc.

Initially I was sure that singular "image" would be fine. But then I discovered that sometimes the plural form is used.

A quote from LibreOffice wiki (singular form):

the template will be stored in your user template folder.

A quote from IBM official page (plural form):

Adding images to the images directory

4
  • 1
    Looking at the context for the IBM quote, I see: "Copy an image (in a supported format) into the images directory, at <root>\applications\maximo\maximouiweb\webmodule\webclient\images." In this situation, "images" is the actual directory name. "The images directory" doesn't just mean "the directory for storing images"; it means "the directory named 'images'". Commented Nov 4, 2019 at 17:51
  • @AdmiralJota Not necessary. The word "images" in the title is in lowercase. Therefore it doesn't look as proper name to me.
    – john c. j.
    Commented Nov 4, 2019 at 17:57
  • It's not a proper noun. It's just the technical designation that the computer uses to identify the directory by. It's similar to how in your first example, "a.png", "b.png", "c.png", etc. are the names of the files. Commented Nov 4, 2019 at 18:09
  • @AdmiralJota No, I don't agree. I have posted my own answer.
    – john c. j.
    Commented Nov 10, 2019 at 9:05

2 Answers 2

4

Your initial premise is questionable, because all three examples have perfectly usable plural forms: "car parks," "train stations" and "bookshelves." For example, "the city has 3 train stations." What we don't say is "a cars park," "trains station" or "books shelf." I think this is what you meant.

Many computer terms like this are based on existing words with pre-computer uses. In the case of "folder" and "directory," extra nouns used to form compounds are usually singular:

  • file folder
  • card folder
  • employee directory
  • product catalog
  • coat closet
  • etc.

For that reason, I suggest that "image folder" is more appropriate than "images folder." But you will find both in use, and as you hinted at, there can be blurring between proper names and descriptive phrases (for example if the name of the folder is "images").

0
2

images directory

Here, the word "image" is an attributive noun, i.e. a noun that works as an adjective.

So, the question: should we pluralize attributive nouns or not? It doesn't have "cut and dry" answer. It depends.

I suggest to read an excellent Quick and Dirty Tips article:

https://www.quickanddirtytips.com/education/grammar/compound-nouns

(I'm not sure "images directory" is a compound noun, though. I believe it is not.)

And then read the following excerpts from another sources:

The plural is rare in ordinary language, but more common in business and legal contexts. In ordinary language, sports is common before another noun. Other than that, the reason [to use plural] is usually (1) that only the plural noun exists, as in mathematics class, or (2) that the singular and plural have slightly different meanings, as in goods train.

From https://forum.wordreference.com/threads/add-s-after-a-noun-in-compound-nouns.2812529/

...

[...] according to some linguists, the use of plural noun modifiers is on the increase - here's Michael Swan on the subject:

Other current changes in small corners of grammar include [...] and a growth in plural marking on noun modifiers (antiques shop, drugs problem, arrivals lounge, ...)

From the same source

...

And dog food is what dogs eat, a bus stop is where buses stop, and so on for all such combinations - English almost always uses the singular noun here. The plural -s is not needed, because when would you want to distinguish between food for one dog and food for many dogs, or a list with one guest and a list with many guests (guest list)? We don't need the singular/plural distinction.

From https://forum.wordreference.com/threads/girl-girls-dancers-singular-or-plural-for-noun-noun-compounds.1369236/

...

Yes, sometimes the plural is used attributively. In most cases the singular is standard, in a few cases either singular or plural works (record/records department, veteran/veterans office) and in a few (such as sales department) the plural is standard.

From https://forum.wordreference.com/threads/do-you-use-the-plural-as-attributive-nouns.2890636/

...

There is no rule about whether the attributive noun is singular or plural. Most of the time it is singular. But if the combination of nouns includes a plural noun, it usually stays that way. The result is phrases like ladies room – not lady room, for a room meant for women and girls, and bean soup but not beans soup for a soup made of beans.

Some grammar experts think that English speakers are using more plural nouns in this way. We have arms race, benefits office, and women leaders. At times, a singular noun changes the meaning. An arts degree recognizes completion of a study program at a college or university in the humanities (or liberal arts). But an art degree is a degree in the fine arts.

From https://learningenglish.voanews.com/a/everyday-grammar-when-nouns-act-like-adjectives/2998821.html

...

So,

  • Generally, use the singular form.
  • When you need to avoid an ambiguity, use the plural form.

Image directory looks potentially ambiguous. It's not clear: is it a directory to store the images, or is it a directory where some particular image is located? That's why IBM use plural form here.

Asciidoctor User Manual, which is very good and accurate written/edited, use the plural form as well: imagesdir, iconsdir and so on.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .