Skip to content

Instantly share code, notes, and snippets.

View aivus's full-sized avatar

Illia Antypenko aivus

View GitHub Profile
aivus /
Created April 10, 2023 20:08
Remove video from Google Pixel MP (Motion Photos) files
#!/usr/bin/env bash
# Based on:
shopt -s globstar
for file in ./**/PXL_*.MP.jpg ./**/MVIMG_*.jpg; do
# Don't crash when there are no files matching the glob