scriptlet to backup exports csv / spectra files
parent
ff7e9d2916
commit
864efb1d2e
|
@ -38,3 +38,5 @@ Filesystem Size Used Free Blksize
|
||||||
/storage/sdcard0 15.0G 28.9M 15.0G 8192
|
/storage/sdcard0 15.0G 28.9M 15.0G 8192
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Has an FPGA.
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue