We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Software

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What Is Case Preservation?

By Eugene P.
Updated: May 17, 2024
References

Case preservation is the ability of a computer file system to remember the capitalization that is used when a file is created. Many popular operating systems have case preservation, while older operating systems and some shell programs do not. One of the main uses for case preservation is in operating systems that enforce case sensitivity, meaning capital letters are recognized as separate symbols from lowercase letters. Another use for preserving the case of a file’s name is to allow users to employ their own formatting techniques that will be displayed by the operating system, sometimes leading to a cleaner appearance. In operating systems that do not use case preservation, the default behavior can vary but generally involves converting all the characters in a filename into either uppercase or lowercase letters.

When a file is created, most file systems store the name of the file as metadata in a special area of the disk being used. During the early period of computing, disk space was at a premium and led to the development of different methods to help save as much space as possible. Early file systems sometimes forced a filename into all lower-case or uppercase letters so the name could be stored more efficiently. Other systems ignored the case of letters to help maintain consistency among filenames and to avoid user confusion. As technology advanced, however, most operating systems and file systems included support for case preservation.

It is important to distinguish between case preservation and case sensitivity. Just because a file system preserves the case of a filename does not necessarily mean it considers the lowercase and uppercase letters to be different symbols. Many operating systems preserve the case but allow users to type in the filename using any letter-case combinations to refer to the file. Alternately, in a case-sensitive system, files can have the same name but be distinguished by the capitalization of the letters. Among common examples are files called readme files; in a case-sensitive, case-preservation system, the files README, Readme, and readme are all different files that can exist in the same directory.

One note about filenames and case preservation is that, even though a particular file system or operating system supports preservation and does not enforce case sensitivity, programs that run in the operating system might. This is especially true with emulators and programs that use command lines for input. These programs can employ sensitivity or disregard case in a new file based on how they are programmed, even though the underlying operating system normally would not.

WiseGeek is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Link to Sources
Discussion Comments
Share
https://www.wisegeek.net/what-is-case-preservation.htm
WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.