将 7z 加入到环境变量 Path
, 并以管理员方式打开 Powershell, 进入到待解压的目录中, 执行下列的命令解压, 如果提示文件重名了 (windows 下不区分大小写, 则输入 u, 即自动重命名).
PS C:\Windows\system32> cd C:\Users\duhbb\Downloads\linux-2.6.39.tar\
PS C:\Users\duhbb\Downloads\linux-2.6.39.tar> 7z x .\linux-2.6.39.tar
7-Zip 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
Scanning the drive for archives:
1 file, 449597440 bytes (429 MiB)
Extracting archive: .\linux-2.6.39.tar
--
Path = .\linux-2.6.39.tar
Type = tar
Physical Size = 449597440
Headers Size = 19957248
Code Page = UTF-8
Characteristics = POSIX PREFIX PAX ASCII
Comment =
{
pax_global_header
comment=61c4f2c81c61f73549928dfd9f3e8f26aa36a8cf
}
Would you like to replace the existing file:
Path: .\linux-2.6.39\include\linux\netfilter\xt_CONNMARK.h
Size: 136 bytes (1 KiB)
Modified: 2011-05-19 12:06:34
with the file from archive:
Path: linux-2.6.39\include\linux\netfilter\xt_connmark.h
Size: 691 bytes (1 KiB)
Modified: 2011-05-19 12:06:34
? (Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all / (Q)uit? u
Everything is Ok
Folders: 2255
Files: 36706
Size: 420001052
Compressed: 449597440
PS C:\Users\duhbb\Downloads\linux-2.6.39.tar>
文章评论