[问题] 使用unrar解压,有密码时该怎样下指令?

楼主: ironmanstock (钢铁人史塔克)   2020-07-13 10:13:51
大家好
请问用unrar(synology NAS内附)解压连续有密码的rar档案时,该怎样下comand?
例:待解档案170个,分别是part01.rar.............part170.rar
密码如下:
感谢[email protected]_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
[email protected] Read additional filter masks from stdin
[email protected]<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
[email protected] Read file names to exclude from stdin
[email protected]<list> Exclude files listed in specified list file
y Assume Yes on all queries
作者: Typebrook (Pham)   2020-07-13 11:17:00
大概是这样吧:unrar *.rar -pYOURPASSWORD-p和你的密码中间不用加空格
作者: guezt   2020-07-13 15:25:00
解一个用英文密码的压缩档试试看就知道是不是中文问题了
作者: Hurricaneger (裤袜脱落大尉)   2020-08-12 23:20:00
yoyodiy

Links booklink

Contact Us: admin [ a t ] ucptt.com