-
-
Save farhan4648gul/47590a02e03922c13d840a3cd40b4755 to your computer and use it in GitHub Desktop.
| adb pull /storage/sdcard0/IMG_20251009_151156_141.jpg /home/gc/androidToUbuntuADBPull | |
| adb pull /storage/sdcard0/IMG_20251009_151156_141.jpg /home/gc/androidToUbuntuADBPull | |
| adb pull /storage/sdcard0/IMG_20251009_151156_141.jpg /media/gc/3D70FF98597A25D3/camon17_data_6.3.2026_Space99me | |
| adb pull /storage/sdcard0/IMG_20251009_151156_141.jpg /media/gc/3D70FF98597A25D3/camon17_data_6.3.2026_Space99me | |
| adb pull /storage/sdcard0/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp\ Images/ /media/gc/3D70FF98597A25D3/camon17_data_6.3.2026_Space99me/copy | |
| adb pull /storage/sdcard0/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp\ Images/ /media/gc/3D70FF98597A25D3/camon17_data_6.3.2026_Space99me/copy | |
farhan4648gul
commented
Mar 7, 2026
adb devices
adb devices
adb shell
adb shell
sudo apt install android-tools-adb
sudo apt install android-tools-adb
|
lsblk
lsblk
lsusb
lsusb
echo $UID
echo $UID
cd /run/user/$(id -u)/gvfs/
cd /run/user/$(id -u)/gvfs/
OR
cd /run/user/1000
cd /run/user/1000
cd 'mtp:host=TECNO_MOBILE_LIMITED_TECNO_CAMON_17_067542517D104374'
cd 'mtp:host=TECNO_MOBILE_LIMITED_TECNO_CAMON_17_067542517D104374'
cd 'Internal shared storage'/
cd 'Internal shared storage'/
ls -> cd 'folder_name' to go to the required folder using shell
The copy command was run from adb and not from within the shell...
after the copy is successful, simply rm -rf ./* the required folders using adb shell...
adb shell rm -rf /path/to/directory/*
adb shell rm -rf /path/to/directory/*
within adb shell, use du -sh for folder sizes...
Developer mode should be ON
MTP should be selected...
adb toybox --help