scriptlet to backup sd

main
server 2022-01-20 18:33:13 -07:00
parent c48d32332f
commit 5ca23b719d
1 changed files with 12 additions and 0 deletions

View File

@ -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"