Skip to content

Instantly share code, notes, and snippets.

@padupuy
Last active September 13, 2017 09:06
Show Gist options
  • Save padupuy/c8ebf001191c3b6fb28fc4ce35add556 to your computer and use it in GitHub Desktop.
Save padupuy/c8ebf001191c3b6fb28fc4ce35add556 to your computer and use it in GitHub Desktop.
Record devices from cli
# Use the command line interface
# For ios https://developer.apple.com/library/content/documentation/IDEs/Conceptual/iOS_Simulator_Guide/InteractingwiththeiOSSimulator/InteractingwiththeiOSSimulator.html
xcrun simctl io booted recordVideo appvideo.mov
# For android https://developer.android.com/studio/command-line/adb.html#screenrecord
adb shell screenrecord --verbose /sdcard/appvideo.mp4
adb pull /sdcard/appvideo.mp4 /Users/project/destination
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment