Most OSes will let you do it but 2025.01.01.png could have issues compared to 2025-01-01.png. Plus I think it’s a little clearer what the file type actually is.
Its just a little pedantic thing I’ve picked up after years of being a sysadmin. In my mind slashes (/) are reserved for directory delimitation and the period (.) is to separate the file name from the file type. I also have a little bit longer of a list of “reserved” characters for other reasons (%, #, and {`}`)
Most OSes will let you do it but
2025.01.01.png
could have issues compared to2025-01-01.png
. Plus I think it’s a little clearer what the file type actually is.Its just a little pedantic thing I’ve picked up after years of being a sysadmin. In my mind slashes (
/
) are reserved for directory delimitation and the period (.
) is to separate the file name from the file type. I also have a little bit longer of a list of “reserved” characters for other reasons (%
,#
, and{
`}`)