tell-tale file to know whether Mojave is installed
I'd like to revert to High Sierra from Mojave via Time Machine. I've already wiped the drive and installed a Mojave Time Machine backup, but I'd like to go back even further. The presence of what directory or file in the Time Machine history will be indicative of whether Mojave or High Sierra is installed?
Thanks
From what the question seems to imply:
the most significant file that the macOS system writes for itself is perhaps its own version number file?
That file is located at
/System/Library/CoreServices/SystemVersion.plist
If that file contains, for example:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ProductBuildVersion</key>
<string>16G1618</string>
<key>ProductCopyright</key>
<string>1983-2018 Apple Inc.</string>
<key>ProductName</key>
<string>Mac OS X</string>
<key>ProductUserVisibleVersion</key>
<string>10.12.6</string>
<key>ProductVersion</key>
<string>10.12.6</string>
</dict>
</plist>
Then the above is for Sierra 10.12.6.