From 84128dd2354d9e4431a54d348ea275a9d43d1a53 Mon Sep 17 00:00:00 2001 From: wangzhongjie Date: Fri, 7 Mar 2025 07:54:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4data=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1c2013e..2c4205c 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ TOOLCHAIN_PATH=./mac DOWNLOAD_PATH=../logs -logd: +stud: cd $(TOOLCHAIN_PATH) && \ ./hdc file recv /mnt/hmdfs/100/account/device_view/local/files/duolun/logs $(DOWNLOAD_PATH) -hilogd: +hilog: cd $(TOOLCHAIN_PATH) && \ TIMESTAMP=$$(date +%Y%m%d%H%M%S) && \ ./hdc shell "tar -czvf /data/$${TIMESTAMP}_log.tar.gz /data/log/" && \ @@ -18,3 +18,6 @@ open: ./hdc shell hilog -p off && \ ./hdc shell hilog -b D ./hdc shell hilog -w start -t kmsg -m none +delete: + # 删除当前目录的data文件夹 + rm -rf $(DOWNLOAD_PATH)/data