System
ADB Debugging
Package Manager
Logcat
Wireless
File Manager
ScreenShot
Network
logcat
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
It is a command used for creating, changing and modifying the timestamps of a file
The adb shell touch command is used for creating a file in a specified directory.
Yes, you must specify a directory before creating a file. This serves as a location where the file will be saved.
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.
Your feedback helps us improve our services
We appreciate your feedback and will use it to improve our services.