cmd dir 文件列表 输出

for /r %F in (*) do @echo %~tF %F >>for.txt(需要是两个箭头,否则只会保留最后一行)

https://stackoverflow.com/questions/11215702/cmd-dir-b-s-plus-date

 

dir /s /b /t >dir.txt(/t不管用,仍然是/b 裸格式)

 

dir /s /b /T:W

 

 

 

cmd /c dir /s >dir.txt


20241027_135210

比较windows上的和安卓上的目录

用beyond compare

1

cd G:\mi10ultra\DCIM\Camera.9yue

cmd /c dir /s /b >dir20241027_132952.txt(然后替换掉前边的路径)

2

[System.Console]::OutputEncoding = [System.Text.Encoding]::UTF8

$OutputPath = ".\Camera.new.txt"

 adb shell ls -a /storage/emulated/0/DCIM/Camera.new | Out-File -FilePath $OutputPath

 

两者通过beyond compare比较

 

 

 

vivo手机这个防止第三方app删除照片,导致我用mt删除的话非常慢。。。老是被系统拦截删除。还找不到设置取消,看来只能用系统的app删了

posted @ 2024-03-24 16:47  hrdom  阅读(35)  评论(0)    收藏  举报