shell
公孙墨岚
这个作者很懒,什么都没留下…
展开
-
windows用指定文件批量重命名
@echo offset a=0setlocal EnableDelayedExpansiondir /b .\*.png | find /c /v "" >> .\tmp.txtset /p c=<.\tmp.txtdel /a /f /q .\tmp.txt for %%i in (*.png) do (set /a a+=1if !a! gtr %c% (goto aa)echo !a!echo %%i ren "%%i" "!a!.png"):aap原创 2020-10-21 10:16:26 · 220 阅读 · 0 评论 -
存储命令——自用备份
1.内置流媒体版本查看strings /opt/hikvision/hikcstor/cva/vtdu/libStream.so | grep Build2.cva错误日志查看tail -f /opt/hikvision/hikcstor/cva/bin/log/va_error.log | grep 65282404001310109522zgrep --binary-file=text "123" hcs_vm_*3.内置流媒体日志查看tail -f /opt/hikvision/原创 2020-06-08 15:04:57 · 827 阅读 · 2 评论