pysalx/scripts/pysalx-backup-sd

13 lines
195 B
Plaintext
Raw Normal View History

2022-01-20 18:33:13 -07:00
#!/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"