PDF viewers which allow the reader to annotate documents with comments and drawings may store these in a sidecar file, such as Xournal's .xoj files.
A variation of this are copies of the source file which contain largely the same information, but in a different format or from a previous version:
Rather than storing data separately, it can be stored as part of the main file. This is particularly done for container files, which allow certain types of data to be stored in them. Instead of separate files on the file system, multiple files can be combined into an archive file, which keeps them together, but requires that software processes the archive file, rather than individual files. This is a generic solution, as archive files can contain arbitrary files from the file system.
Main article: Fork (file system)
A file system level solution for the same problem are forks, which allow multiple pieces of data to be associated with a single file. Sidecar files can be seen as "forks for file systems without native support for forks".
These can then be manipulated with usual file system tools: because the support is built into the operating system, these resource forks will not show up as separate files, and all applications inherit support for resource forks. However, forks cannot be copied to file systems without support for forks, or transmitted over a channel that does not support forks. For interchange forks are generally instead stored as sidecar file.
The classic Mac OS and macOS are notable examples of operating systems with support for forks, in the HFS file system. However, this causes problems with exchanging over ISO 9660 format CD-ROM, FAT format MS-DOS disks, and over internet email, and requires the use of sidecar files to store this information. Microsoft NTFS supports Alternate Data Streams which are similar.
"DxO PhotoLab 7 : Le logiciel complet de traitement de photos RAW". https://www.dxo.com/fr/dxo-photolab/ ↩
"Metadata Management Support". 16 October 2021. https://tutodxo.com/en/metadata-management-support/ ↩