How asinghtric/bexif works
BEXIF is a command-line bulk metadata scrubber. The user supplies a file or directory; the CLI discovers supported images and videos, dispatches each file to a format-specific scrubber, and summarizes changes and warnings. Image scrubbers remove metadata chunks or markers while preserving image data, then write changed bytes through a temporary file. Video scrubbing optionally invokes ffmpeg to remux without re-encoding. The source is a single file, so subsystem paths all point to it; the graph reflects the sampled implementation and README capabilities.
Main entry points: bexif.py CLI Main
Components 8
CLI Workflow
- CLI Main
bexif.py - Target Files
- Terminal Summary
bexif.py
Format Scrubbing
- Image Scrubbers
bexif.py - Video Scrubber
bexif.py
File I/O
- Atomic Writer
bexif.py - ffmpeg
Other components
- CLI User
Connections 8
- CLI User → CLI Main: provides target
- CLI Main → Target Files: scans files
- CLI Main → Image Scrubbers: dispatches images
- CLI Main → Video Scrubber: dispatches videos
- Image Scrubbers → Atomic Writer: writes changes
- Video Scrubber → ffmpeg: remuxes streams
- Video Scrubber → Target Files: replaces file
- CLI Main → Terminal Summary: prints results