wu_xinjun
2022-03-14 9671b3582a1cb9bddf461908e83617cc22001bf5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@echo off
 
@REM change to the filepath
cd %~dp0
echo change to path: %cd%
if exist aerial_deploy (
    echo the folder aerial_deploy is exited, removing it ...
    rmdir /S /Q aerial_deploy
    echo remove done!
) 
 
mkdir aerial_deploy
echo setting the env ...
tar -xzf ./aerial.tar.gz -C %cd%/aerial_deploy
echo ALL DONE!