Skip to content

Instantly share code, notes, and snippets.

@frankIT
Last active May 17, 2025 21:32
Show Gist options
  • Save frankIT/f7f7878ae6f1a3d8a836513f326fd618 to your computer and use it in GitHub Desktop.
Save frankIT/f7f7878ae6f1a3d8a836513f326fd618 to your computer and use it in GitHub Desktop.
Use wildcards with adb pull
#!/bin/bash
# cd in your download folder first
adb shell 'find "/storage/emulated/0/DCIM/Camera/" -maxdepth 1 -name "202501*"' | while read -r file; do adb pull "$file"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment