pysalx/scripts/pysalx-backup-export-now

13 lines
205 B
Bash
Executable File

#!/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/sdcard0/export/ "./$NOW"