批处理_批量删除手机中某些目录中的文件
2014-04-19 13:04
239 查看
将如下内容复制到文本文件中,然后将后缀名修改为.bat
adb shell rm -rf /data/anr/*
adb shell rm -rf /data/tombstones/*
adb shell rm -rf /data/dontpanic/*
adb shell rm -rf /data/panicreports/*
adb shell rm -rf /data/system/dropbox/*
adb shell rm -rf /storage/sdcard0/mtklog/*
adb shell rm -rf /storage/sdcard1/mtklog/*
adb shell rm -rf /sdcard/Pictures/ScreenShots/*
adb shell rm -rf /sdcard/amtresult/*
adb shell rm -rf /sdcard/_mrc_auto/*
@echo OFF
echo.
echo ********************************************************************
echo ***** Operation was done!Pls press any key to close CMD window.*****
echo ********************************************************************
pause
adb shell rm -rf /data/anr/*
adb shell rm -rf /data/tombstones/*
adb shell rm -rf /data/dontpanic/*
adb shell rm -rf /data/panicreports/*
adb shell rm -rf /data/system/dropbox/*
adb shell rm -rf /storage/sdcard0/mtklog/*
adb shell rm -rf /storage/sdcard1/mtklog/*
adb shell rm -rf /sdcard/Pictures/ScreenShots/*
adb shell rm -rf /sdcard/amtresult/*
adb shell rm -rf /sdcard/_mrc_auto/*
@echo OFF
echo.
echo ********************************************************************
echo ***** Operation was done!Pls press any key to close CMD window.*****
echo ********************************************************************
pause
相关文章推荐
- 批量删除SVN项目目录下的所有.svn文件
- Android 手机sdcard目录或文件的拷贝、移动、删除(递归)
- Asp.Net 文件操作基类(读取,删除,批量拷贝,删除,写入,获取文件夹大小,文件属性,遍历目录)(二)
- 批量删除目录下指定类型文件
- 批量删除当前目录下后缀名为.c的文件。如a.c、b.c。
- 批量删除一个目录下所有的文件夹和文件
- Asp.Net 文件操作基类(读取,删除,批量拷贝,删除,写入,获取文件夹大小,文件属性,遍历目录)
- 使用CMD模式批量删除指定目录(支持目录中多层文件夹嵌套)下指定格式文件
- Linux学习笔记---目录处理命令---删除文件或目录
- linux 删除某个目录下的所有某些文件
- 批量删除某些后缀结尾的文件
- linux 利用find进行批量删除CVS目录和文件的方法
- 批量删除当前目录下的可执行文件
- 删除目录下的某些后缀名的文件
- 批处理 批量删除文件
- 批量删除某个目录下的 某类型文件方法
- [导入]Asp.Net 文件操作基类(读取,删除,批量拷贝,删除,写入,获取文件夹大小,文件属性,遍历目录)(一)
- linux 目录下文件批量植入和删除,按日期打包
- [导入]Asp.Net 文件操作基类(读取,删除,批量拷贝,删除,写入,获取文件夹大小,文件属性,遍历目录)(二)
- Asp.Net 文件操作基类(读取,删除,批量拷贝,删除,写入,获取文件夹大小,文件属性,遍历目录)