# Filename ## Types - `snake_case` - `SCREAMING_SNAKE_CASE` - `kebab-case` - `camelCase` - `PascalCase` ## Conventions - [Google developer documentation style](https://developers.google.com/style/filenames) - [[google|Google]] recommends Kebab case - Snake case is sometimes acceptable - [[ascii|ASCII]] alphanumeric characters only - This doc mentions multiple useful standards regarding filenames as well - [Microsoft Windows App Development file name guide](https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#file-and-directory-names) - In [Microsoft Style Guide](https://learn.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/f/file-name) [[microsoft|Microsoft]] emphasizes that `file name` are two words instead of one, do not hyphenate. ## Discussions - Naming conventions - Maximize readability and search-ability - Free to use spaces. - Use `-` to separate fields in the filename. The following naming convention mimics the default [[zotero|Zotero]] attachment naming. ``` [Author/Source - ][YYYY-MM-DD - ]Item Name[ - version] ``` - `Canonical - 2022 - A CTO's Guide to software-defined vehicles.pdf` - Filename truncated, the beginning of the filename is not providing much useful information.