作者ironmanstock (钢铁人史塔克)
看板Linux
标题[问题] 使用unrar解压,有密码时该怎样下指令?
时间Mon Jul 13 10:13:51 2020
大家好
请问用unrar(synology NAS内附)解压连续有密码的rar档案时,该怎样下comand?
例:待解档案170个,分别是part01.rar.............part170.rar
密码如下:
感谢BME--BNE0A8E212B72_by_FONE--05C0@18P2P_KJO452A03578LKGF.OG
我试下指令 unrar *.rar
它会跳出 Enter password (will not be echoed) for 後面接一堆字
我在一堆字後面的冒号後面贴上正确密码,画面也不会显示我贴上的密码
没办法看贴的正确与否,很不方便
然後系统回应
The specified password is incor
The specified password is incor
The specified password is incor
The specified password is incor
The specified password is incor
The specified password is incor
The specified password is incor
The specified password is incor
The specified password is incor
The specified password is incor
应该没贴错密码啊~~密码有中文会有影响吗?
请问一般unrar解连续rar档,又有落落长的密码时,该怎样下指令才正确?
(web介面解压超级慢)
请指教 感谢
***************************************************************
附上synology NAS 里unrar的版本讯息
UNRAR 5.21 freeware Copyright (c) 1993-2015 Alexander Roshal
Usage: unrar <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract\>
<Commands>
e Extract files without archived paths
l[t[a],b] List archive contents [technical[all], bare]
p Print file to stdout
t Test archive files
v[t[a],b] Verbosely list archive contents [technical[all],bare]
x Extract files with full path
<Switches>
- Stop switches scanning
@[+] Disable [enable] file lists
ad Append archive name to destination path
ag[format] Generate archive name using the current date
ai Ignore file attributes
ap<path> Set path inside archive
c- Disable comments show
cfg- Disable read configuration
cl Convert names to lower case
cu Convert names to upper case
dh Open shared files
ep Exclude paths from names
ep3 Expand paths to full including the drive letter
f Freshen files
id[c,d,p,q] Disable messages
ierr Send all messages to stderr
inul Disable all messages
kb Keep broken extracted files
n<file> Additionally filter included files
n@ Read additional filter masks from stdin
n@<list> Read additional filter masks from list file
o[+|-] Set the overwrite mode
ol[a] Process symbolic links as the link [absolute paths]
or Rename files automatically
ow Save or restore file owner and group
p[password] Set password
p- Do not query password
r Recurse subdirectories
sc<chr>[obj] Specify the character set
sl<size> Process files with size less than specified
sm<size> Process files with size more than specified
ta<date> Process files modified after <date> in YYYYMMDDHHMMSS format
tb<date> Process files modified before <date> in YYYYMMDDHHMMSS format
tn<time> Process files newer than <time>
to<time> Process files older than <time>
ts<m,c,a>[N] Save or restore file time (modification, creation, access)
u Update files
v List all volumes
ver[n] File version control
vp Pause before each volume
x<file> Exclude specified file
x@ Read file names to exclude from stdin
x@<list> Exclude files listed in specified list file
y Assume Yes on all queries
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 36.228.71.37 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Linux/M.1594606436.A.3B7.html
1F:→ Typebrook: 大概是这样吧: 07/13 11:17
2F:→ Typebrook: unrar *.rar -pYOURPASSWORD 07/13 11:18
3F:→ Typebrook: -p和你的密码中间不用加空格 07/13 11:18
4F:推 guezt: 解一个用英文密码的压缩档试试看就知道是不是中文问题了 07/13 15:25
5F:推 Hurricaneger: yoyodiy 08/12 23:20