Home FEATURES PRICING BLOG FREE TRIAL

Adb shell touch

adb shell touch

This command is used to create, change and modify timestamps of a file. Generally used for creating a file.

.

adb shell touch /location/fileName

adb shell touch /mnt/sdcard/Download/test.txt

Frequently Asked Questions

What is adb shell touch command?

It is a command used for creating, changing and modifying the timestamps of a file

Which command is used for creating file in a specified directory?

The adb shell touch command is used for creating a file in a specified directory.

Do I need to specify a directory before creating a file?

Yes, you must specify a directory before creating a file. This serves as a location where the file will be saved.

Why is adb shell touch command not working?

If the adb shell touch command is not working for you, it is probably because you entered an invalid directory path or because a file with the same name and format already exits in the specified directory path.