Skip to content

Conversation

@0xForkh
Copy link

@0xForkh 0xForkh commented Sep 19, 2025

Google Takeout Metadata Handling

Fix for #448

Google Takeout now uses .supplemental-metadata.json files instead of plain .json files.
These filenames can be truncated due to length limits, resulting in variations like:

  • .supplemental-metadata.json (full)
  • .s.json (shortest truncation)
  • .supple.json, .suppleme.json (partial truncations)

This commit:

  • Updates JSON file matching to check for supplemental-metadata patterns
  • Handles truncated filename variations
  • Maintains backward compatibility with original .json format
  • Adds comprehensive tests for all format variations

Fixes compatibility with newer Google Takeout exports while preserving support for older formats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant