How to get available/free sdcard space in android with adb command
df: Disk space details.
adb shell df
du: Disk space used by the specified files and subdirectories.
adb shell du
df -h: Disk space details in KB/MB format.
adb shell df -h
du -h: Disk space used by the specified files and subdirectories in KB/MB format.
adb shell du -h
For specific folder desk space details.
adb shell df /system
For specific folder and sub-directories desk space details
adb shell du /system