默认在linux下是没rar的解压软件的,因此一般本地压缩使用winrar,选择压成ZIP后上传,使用unzip来解压。
但昨天下了一个大文件rar文件,没办法,只好去找来linux下的rar解压软件,来完成解压。
还找了一段时间,才找到。发到软件下载那边共享,rarlinux下载 :http://down.itlearner.com/soft/2412.shtml
这个是3.6.0的版本
tar -zxf rarlinux-3.6.0.tar.gz
cd rarlinux-3.6.0
make
没看到configure,所以就直接make了。
解压hx.rar文件:
rar x hx.rar
具体参数可以rar -h查看,下面例出一些。
RAR 3.60 Copyright (c) 1993-2006 Alexander Roshal 5 Aug 2006
Shareware version Type RAR -? for help
Usage: rar <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract/>
<Commands>
a Add files to archive
c Add archive comment
cf Add files comment
ch Change archive parameters
cw Write archive comment to file
d Delete files from archive
e Extract files to current directory
f Freshen files in archive
i[par]=<str> Find string in archives
k Lock archive
l[t,b] List archive [technical, bare]
m[f] Move to archive [files only]
p Print file to stdout
r Repair archive
rc Reconstruct missing volumes
rn Rename archived files
rr[N] Add data recovery record
rv[N] Create recovery volumes
s[name|-] Convert archive to or from SFX
t Test archive files
u Update files in archive
v[t,b] Verbosely list archive [technical,bare]
x Extract files with full path
在linux下解压rar文件
最新推荐文章于 2024-07-14 09:58:06 发布