要想删除和创建,需要有root权限 [xwg@bogon ~]$ su root密码:[root@bogon xwg]# cd /home/a 切换到目录a[root@bogon a]# touch d 在目录a下创建b文件[root@bogon a]# rm -f d 删除目录a下的b文件[root@bogon a]# mkdir d 在目录a下创建d文件夹[root@bogon a]# cd /home/a/d 切换到d文件夹下[root@bogon d]# touch
在android设备中要创建多个或者多级文件夹时,手动去创建费时费力(有点傻),一个bat文件就能很好的实现这个功能. 1.首先创建同级多个文件夹且在该文件夹下生成一个文件 @echo off echo please wait the devices to connect ..... adb wait-for-device echo device connected set /p i=Please input the number of folder you need: :start set /