2 ms·
Great tip, thanks. TIL: adb shell has all sorts of goodies, so I went for the one-liner: pm list packages com.facebook | sed 's/package://' | xargs -n 1 -
by declnz 8y ago
Great tip, thanks.
TIL: adb shell has all sorts of goodies, so I went for the one-liner:
pm list packages com.facebook | sed 's/package://' | xargs -n 1 -- pm uninstall -k --user 0
(There's a spurious warning at the end, seems their `xargs -n` likes adding a newline: `ls | xargs -n 1`)