Skip to content

Instantly share code, notes, and snippets.

View florian-glombik's full-sized avatar

Florian Glombik florian-glombik

View GitHub Profile
@florian-glombik
florian-glombik / rename_mov_files_to_mp4
Last active June 21, 2024 04:05
This python script renames .mov files to .mp4 files, which can be useful when exporting videos from the iOS photos app. You will need to adjust the path variable to the path where your pictures are stored.
import os
import glob
path_to_mov_files_to_be_renamed = '/path/to/your/movFiles'
def rename_mov_files_to_mp4(path):
os.chdir(path)
mov_files = glob.glob('*.mov')