I've never had a problem with filenames starting with number... I typically name important files YYYY-MM-DD-descriptive-name.ext ... and have done so since I started using computers almost 40 years ago... where did you hear that this was problematic?I think many years ago some mentioned that it was not a hood idea to do that. Which OS has issue with this naming format? What about MacOS for the past 10 years?
Offhand, I don’t recall any such requirement for file names.hajime said:Is there a problem starting the filename or foldername with a number?
That's a *nix convention--makes the file hidden. OSX is based on Unix.Maybe what you remember is about a few symbols? It's not a good idea to randomly begin a file name with a dot (.) (never has been a good choice on a Mac )
Yes, we do need to consider possible issues moving to different OS.There are OSs with more restrictions in filename. The requirement that a filename begin with an alphabetic character has existed, but is very rare and is outside of the personal computer world. There have been other restrictions on first characters over the eons. Check out:
Wikipedia: Filenames
Good practice requires that filenames be limited to what works reliably on common OSs and media formats. That means Linux, Windows, Android, iOS/iPadOS, and macOS and with FAT32, ExFAT, NTFS, HFS+, APFS, and ISO-9660 (CD/DVD). It is also important that various applications' handling of filenames be taken into consideration.
I've encountered issues with leading spaces in filename when moving files from macOS to Windows. Windows had no problems, nor did macOS and Adobe Lightroom on macOS. The failure was in Lr on Windows not dealing with leading spaces properly when importing a catalogue exported from the Mac version that contained files and/or folders with leading spaces in their names. These days I use leading underscores instead of spaces when I want to force the order files/folders appear in Finder.
An addenda to my earlier post: An addition to the filesystems that need to be considered, URI/URL limitations should also be considered when following "best practice" since often these are built up from folder and filenames.Yes, we do need to consider possible issues moving to different OS.