diff --git a/scripts/pysalx-backup-sd b/scripts/pysalx-backup-sd new file mode 100755 index 0000000..f86884a --- /dev/null +++ b/scripts/pysalx-backup-sd @@ -0,0 +1,12 @@ +#!/bin/bash +# Script to backup the sdcard on the analyzer. +# It will create a timestamped directory. + +set -x + +NOW=`date +%Y%m%d%H%M%S` + +mkdir -p "./$NOW" + +adb pull -a /storage/sdcard0/ "./$NOW" +