Reputation: 4739
After-the-dot-in-a-file-name, it is called extension.
Upvotes: 22
Views: 9389
Reputation: 4174
Once upon a time, the term Leafname was used, although that typically included the extension. I mention this for historical value, and since its dropped out of usage, it might be redeemable for this purpose.
Upvotes: 1
Reputation: 180787
I'm not a Ruby or Linux guy, so I guess I missed the BaseName thing. It makes for all sorts of interesting naming convention hilarity. I'm in the
Filename.Ext
camp, although that, too can be a FileName. (or maybe a FileNameWithExtension).
Upvotes: 1
Reputation: 403461
It's called the basename. In fact, there's a unix/linux command for it:
basename - strip directory and suffix from filenames
Upvotes: 26
Reputation: 97686
Ruby calls it the basename. That's a good, succinct name that I generally go with in other environments too.
Upvotes: 3
Reputation: 116169
I've always called the everything before the dot and the extension the "file name".
Upvotes: 1
Reputation: 86196
The "base name," "basename," "primary name," "filename," "file name," or the "file."
Upvotes: 5