#!/bin/bash # Script to backup the sampledetect directory 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/sciaps/sampledetect/ "./$NOW"