Skip to content

Commit

Permalink
Update get_recordings
Browse files Browse the repository at this point in the history
  • Loading branch information
bgkillas authored Nov 29, 2022
1 parent 30ae194 commit 8cb789d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/helpers/retrieve_recordings/get_recordings
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TARGETPATH="/path/to/save/the/recordings/"
mkdir -p $TARGETPATH
cd $TARGETPATH
for file in $(adb shell 'ls -1d /tmp/A*.wav /persist/A*.wav 2>/dev/null'|tr -d '\r');do
for file in $(adb shell 'ls -1d /tmp/[A-Z]*.wav /persist/[A-Z]*.wav 2>/dev/null'|tr -d '\r');do
echo "Pulling $file"
adb pull $file && adb shell rm $file || echo "Failed to Pull $file"
done

0 comments on commit 8cb789d

Please sign in to comment.