minnow
minnow

Reputation: 361

Is a file with two extensions idiomatic if it is metadata related to another existing file?

I have a program which generates and caches JSON metadata for files of multiple media types (e.g. .jpeg, .png). Is it idiomatic to include the original file extension in the name of the metadata file to demonstrate how they are related and avoid naming collisions where there are two media files with the same name but different extensions (e.g. my_photo.jpeg.json, my_photo.png.json)?

Upvotes: 0

Views: 25

Answers (0)

Related Questions