scriptlet to backup exports csv / spectra files

main
server 2022-01-20 19:46:24 -07:00
parent ff7e9d2916
commit 864efb1d2e
2 changed files with 14 additions and 0 deletions

View File

@ -38,3 +38,5 @@ Filesystem Size Used Free Blksize
/storage/sdcard0 15.0G 28.9M 15.0G 8192
```
Has an FPGA.

View File

@ -0,0 +1,12 @@
#!/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"