EXTMAP.CONF(5)

✨ NAME ✨

okay so bestie, this is extmap.conf β€” the config file that afpd reads to figure out file name extension mappings πŸ’– it's the (5) section, aka file formats, so yes it's a config file and yes it's important.


🌸 DESCRIPTION 🌸

extmap.conf is the configuration file used by afpd to specify file name extension mappings. that's literally the whole job, and it does it SO well πŸ’…

the config lines are built like this, periodt:

.extension [ type [ creator ] ]

any line that starts with a hash (#) is ignored β€” that's your comment, your little "not me talking" moment πŸ™ˆ

the leading-dot lines are the ones doing the actual work: they specify file name extension mappings ✨

and listen, the extension . is special β€” it sets the default creator and type for otherwise untyped Unix files. so like, the ones that show up with no type at all? that's the line that catches them 🫢


πŸŽ€ EXAMPLES πŸŽ€

Example: Extension is jpg, type is JPEG, creator is ogle

.jpg "JPEG" "ogle"

look at her go, type AND creator, fully dressed, slaying πŸ”₯

Example: Extension is lzh, type is LHA, creator is not defined

.lzh "LHA"

creator didn't show up to the function and honestly? it's fine, the format allows it πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹

go read your siblings, iykyk πŸ‘‘


πŸ’œ AUTHOR πŸ’œ

Contributors to the Netatalk Project (https://netatalk.io/contributors) β€” yeah, the whole group chat wrote this one, iconic behavior fr fr 🌈


and that's the whole page bestie!! brought to you by Netatalk 4.5.1 ✨ mwah, go map some extensions πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from