C:\Users\aw>adb shell
root@android:/ # su
su
root@android:/ # cd data/data
cd data/data
root@android:/data/data # cd /data/inspur
cd /data/inspur
root@android:/data/inspur # ls
ls
LEDCONF.ini
ipconfig.xml
ipmap.xml
root@android:/data/inspur # chmod 777 ipconfig.xml
chmod 777 ipconfig.xml
root@android:/data/inspur # rmdir ipconfig.xml
rmdir ipconfig.xml
root@android:/data/inspur #
The ipconfig.xml folder is deleted here. It was originally a file, but the folder format was generated by mistake.
1,adb shell
2, su
3, cd /data/inspur to enter the directory
4, ls View files in the directory
5, chmod 777 ipconfig.xml get operation permissions
6, Rmdir ipconfig.xml delete folder
If you delete the file rm file
Delete the folder and its contents rm -r
C:\Users\aw>adb shell
root@android:/ # su
su
root@android:/ # cd /mnt/sdcard/
cd /mnt/sdcard/
root@android:/mnt/sdcard # ls
ls
Alarms
Android
DCIM
Download
LOST.DIR
Movies
Music
Notifications
Pictures
Podcasts
Ringtones
backup
bak
crash
icbcbox
log
updatefile
ban
root@android:/mnt/sdcard # rm -r crash
rm -r crash
root@android:/mnt/sdcard #
Delete the folder under the general directory
1,adb shell
2,su
3,cd /mnt/sdcard/
4,ls
5,rm -r crash delete folder and content
Delete folder rmdir folder
Delete file rm file
Use the tree command to export the directory tree of windows folders/files Tags (space separated): windows tips Use the tree command to export the directory tree of windows folders/files Example Start...
1. Delete the folder instance: Will delete the /var/log/httpd/access directory and all files and folders under it 2. Delete file usage examples: Will delete the file /var/log/httpd/access.log...
-r means downward recursive deletion -f means to force delete directly without any prompt Generally use rm -rf for folder deletion (recursive deletion is required for folder deletion) Generally use rm...
1. Delete all files in the directory 2. Delete the empty folder under the directory...
must be Android DebugSigned application can...
In order to shield some of the files we create in the phone sd card .nomedia folder or file, the system does not scan the folder, it will not scan files contain .nomedia file folder. Sometimes ...
problem This is the directory structure of a project on GitHub But maybe we don't need to upload .idea folder or ONE.iml or other files or folders to GitHub. However, we have uploaded the project to G...
** Android system ADB command ** 1 View Memory Information command: adb shell dumpsys meminfo Enter the command: Dumpsys Meminfo PID, such as 360 security guards installed, then the actual command sho...
Delete many files: 1. Switch to the desired folder address via cd 2. Execute the following command: Delete empty folders and non-empty folders: parameter: /s delete the specified directory and ...
In the development, the copy and delete operations of files and folders are also commonly used, and make a record below for backup...