Adb shell mkdir

This command is used to create directory at any given path

mkdir -m 777 /path/to/directory

Sets up permission mode

mkdir -m 777 /sdcard/tmp

mkdir -p /path/to/directory

Create parent directories as needed

mkdir -p /sdcard/tmp/sub1/sub2

mkdir path/to/directory

mkdir /sdcard/tmp

how to image


Frequently Asked Questions


What is the mkdir command used for?

This command is used to create directory at any given path

How to create parent directories using mkdir?

Use the command mkdir -p /sdcard/tmp/sub1/sub2 to create parent directories

Why is mkdir not working?

If the command mkdir isn't working for you, it is probably because the parent directories that you specified in the path do not exist.

rating-img
Rate this tool
NaN/5   0 votes