Back up your device without vendor lock-ins, using insecure software or root. Supports encryption and compression out of the box. Works cross-platform.
On my device (Android 8.1), rm doesn't have a -v switch and the script will abort with
Removing temporary files created by the companion app.
See rm --help
rm: Unknown option v
From my device
> adb shell rm --help
usage: rm [-fiRr] FILE...
Remove each argument from the filesystem.
-f force: remove without confirmation, no error if it doesn't exist
-i interactive: prompt for confirmation
-rR recursive: remove directory contents
On my device (Android 8.1), rm doesn't have a -v switch and the script will abort with
From my device