Skip to content

Instantly share code, notes, and snippets.

View joeblau's full-sized avatar
🎉
It's a party

Joe Blau joeblau

🎉
It's a party
View GitHub Profile
@joeblau
joeblau / simrecord
Created March 16, 2018 22:06 — forked from JohnSundell/simrecord
🎥 Script that lets you start a video recording from the iOS simulator with one command
#!/bin/bash
ITERATION=1
EXTENSION="mp4"
FILENAME="$HOME/Desktop/Simulator Recording.$EXTENSION"
while [ -e "$FILENAME" ]
do
ITERATION=$((ITERATION+1))
FILENAME="$HOME/Desktop/Simulator Recording $ITERATION.$EXTENSION"