Skip to content

Instantly share code, notes, and snippets.

View ron-brosh's full-sized avatar

Ron Brosh ron-brosh

View GitHub Profile
@FriendlyTester
FriendlyTester / AndroidRecord.sh
Created January 30, 2015 17:04
BASH script to record Android display and download/delete the video
#Check if an argument was supplied
if [ -z "$1" ]
then
echo "No argument supplied, please provide video name"
else
# start recording
adb shell screenrecord --bit-rate 6000000 /sdcard/$1.mp4 &
# Get its PID
PID=$!
@Kilo-Loco
Kilo-Loco / record-simulator.sh
Created August 4, 2020 20:11
Bash script for recording Xcode Simulator
#!/bin/bash
echo "🤔 Enter a video name:"
read name
name="${name}.mp4"
echo
echo "📹 Recording $name"
echo