Is there a standard file naming convention for key-value pairs in filename?

▼魔方 西西 提交于 2019-12-25 11:57:06

问题


I have multiple data files that are named after what they contain. For example

machine-testM_pid-1234_key1-value1.log

There are keys and values separated by - and _. Is there a better syntax for this? Are there parsers that automatically read these kinds of files/filenames?

The idea here is that the filenames are human and machine readable.


回答1:


There seems to be no standard file naming convention for key-values.



来源:https://stackoverflow.com/questions/10087079/is-there-a-standard-file-naming-convention-for-key-value-pairs-in-filename

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!