adb shell mv

In this article, we shall look at the “adb shell mv” adb command and also how to use “adb shell mv” command, with an example.

How to use adb shell mv

Moves files or directories from one place to another

adb shell mv /mnt/sdcard/Download/test.txt /mnt/sdcard/DCIM/test.txt

Force copy by deleting destination file

adb shell mv -f /mnt/sdcard/Download/test.txt /mnt/sdcard/DCIM/test.txt

Interactive, prompt before overwriting existing DEST

adb shell mv -i /mnt/sdcard/Download/test.txt /mnt/sdcard/DCIM/test.txt

No clobber (don’t overwrite DEST)

adb shell mv -n /mnt/sdcard/Download/test.txt /mnt/sdcard/DCIM/test.txt

If you are looking for the latest ADB Driver for Android, you can get from here: ADB Driver

Leave a Comment