add pack.bat
This commit is contained in:
parent
ea533eeb29
commit
c11080a6f6
40
pack.bat
Normal file
40
pack.bat
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
set f_year=2022
|
||||||
|
set f_month=10
|
||||||
|
|
||||||
|
ren data data_for_backup
|
||||||
|
cd ./data_for_backup
|
||||||
|
|
||||||
|
|
||||||
|
cd ./bilibili-hotband
|
||||||
|
del /f /s/q latest.json
|
||||||
|
cd ./final/%f_year%/%f_month%
|
||||||
|
for /d %%i in (*) do ( "C:\Users\Administrator\Desktop\7-Zip(绿色版)\7z.exe" a "%%~ni.zip" "%%i" -sdel )
|
||||||
|
cd ../../../
|
||||||
|
|
||||||
|
cd ./origin/%f_year%/%f_month%
|
||||||
|
for /d %%i in (*) do ( "C:\Users\Administrator\Desktop\7-Zip(绿色版)\7z.exe" a "%%~ni.zip" "%%i" -sdel )
|
||||||
|
cd ../../../
|
||||||
|
|
||||||
|
|
||||||
|
cd ../
|
||||||
|
cd ./bilibili-rank
|
||||||
|
del /f /s/q latest.json
|
||||||
|
cd ./origin/%f_year%/%f_month%
|
||||||
|
for /d %%i in (*) do ( "C:\Users\Administrator\Desktop\7-Zip(绿色版)\7z.exe" a "%%~ni.zip" "%%i" -sdel )
|
||||||
|
cd ../../../
|
||||||
|
|
||||||
|
|
||||||
|
cd ../
|
||||||
|
cd ./weibo-hotband
|
||||||
|
del /f /s/q latest.json
|
||||||
|
cd ./final/%f_year%/%f_month%
|
||||||
|
for /d %%i in (*) do ( "C:\Users\Administrator\Desktop\7-Zip(绿色版)\7z.exe" a "%%~ni.zip" "%%i" -sdel )
|
||||||
|
cd ../../../
|
||||||
|
|
||||||
|
cd ./final/%f_year%/%f_month%
|
||||||
|
for /d %%i in (*) do ( "C:\Users\Administrator\Desktop\7-Zip(绿色版)\7z.exe" a "%%~ni.zip" "%%i" -sdel )
|
||||||
|
cd ../../../
|
||||||
|
|
||||||
|
|
||||||
|
cd ../../
|
||||||
|
pause
|
Loading…
x
Reference in New Issue
Block a user