a scriptlet that doesn't backup
parent
df64244d3a
commit
ff7e9d2916
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
# Script to backup the / directory on the analyzer.
|
||||
# It will create a timestamped directory.
|
||||
|
||||
# Write script to backup filesystem.
|
||||
# Just doing / does /proc /sys and a bunch of other
|
||||
# unneeded dirs. No quick/dirty way to --exclude
|
||||
# with adb, so build a list of dirs, iterate thru
|
||||
# that. TODO
|
||||
|
||||
exit
|
||||
set -x
|
||||
|
||||
NOW=`date +%Y%m%d%H%M%S`
|
||||
|
||||
mkdir -p "./$NOW"
|
||||
|
||||
adb pull -a / "./$NOW"
|
||||
|
Loading…
Reference in New Issue