pysalx/scripts/pysalx-backup-extsd

13 lines
200 B
Plaintext
Raw Normal View History

2022-01-20 19:04:24 -07:00
#!/bin/bash
# Script to backup the extsdcard 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/extsdcard/ "./$NOW"