bin/scripts/phone
#!/bin/sh options="pull\npush\nscreen\ndevices" select=$(echo -e $options | fzf) case $select in "pull") adb shell find sdcard/ | fzf | xargs -i adb pull "{}";; "push") src="$(fzf -i)" adb shell find sdcard/ -type d | fzf | xargs -i adb push "$src" {} ;; "screen") scrcpy;; "devices") adb devices;; esac