I have RAR backups multipart in 2 DVDs.
If I open i.e. myfile.part01.rar with ARK it asks for next part i.e. myfile.part11.rar because this is in DVD2.
If I open it with WinRAR (via WINE) it unrars all the files in DVD1, then it asks for myfile.part11.rar . So I pull out DVD1 (I cannot extract because its in use) and insert DVD2. But somehow it doesn´t update content in Dolphin file explorer, then WinRAR cannot find myfile.part11.rar
The only solution is to manually copy all files to the same directory in my hard disk.
Is there any other solution different than this?
Thanks in advance. After 3 years using Linux I’m still learning stuff I easily could perform in Windows without any complications.
You already stated that ark works - so this does not make sense - why would you need to to the same thing using a wine environment ?
If a wine process access the dvd drive - and in this case waiting for another disc, but not releasing the first disc, that is a problem for the layer - wine - not a problem for kernel.
Use ark - you already know it works - if the goal is to make the files accessible to your wine enviroment - extract to a path reachable by the wine environment.
It won’t, as the drive won’t read the TOC (Table of Contents) or signal the machine that there’s been a disk change event.
It’s the old trick I used on my Philips standalone CD recorder. I’d put in a proper CDR Audio disk in so that the machine could recognize it, then pull the drawer and insert a cheap standard CDR to make the recording.
Update: I know the problem might be in WINE as you say.
I don´t know why ARK doesn’t support extraction for multipart rar from different locations.
And I don´t know why it worked in the past in earlier Manjaro versions (2 years ago or so). This is a new 2024 installation and it never worked.
A better workaround for me is the following:
I copy only myfile.part01.rar or myfile.part01.exe (yes I have autoextracts). I run the exe or open rar with WINRAR (via WINE).
when it aks for myfile.part02.rar I insert DVD1 and manually search for the next file. It continues extracting until end of this DVD.
when it asks for myfile.part11.rar I insert DVD2, search and it continues extracting until end of this DVD.
This workaround work with at least 11 of 12 2-dvd movie rar backups.
So, for now I have to use this method.
Thank you very much for your help and excuse my English, it’s not my native language
This seems to be a very messed up set of DVD’s - or the one who created it messed up.
because:
if myfile.part01.rar is on one DVD
and the next one
which probably isn’t: myfile.part11.rar
is on the other DVD
then something is “wrong” here.
the follow up to myfile.part01.rar should be myfile.part02.rar
not myfile.part11.rar
and that one, being the next, should be on the same DVD
it apparently is not
anyway: it is easily solvable if you just copy all the stuff in one directory and have it rip from there
From what I gathered from this thread, parts 1-10 are on the first disk and 11+ are on the second one.
From that last post by the OP, this seems to indicate that if the WHOLE first disk isn’t “un-RARed” in one go i.e. doing the first file then proceeding with the rest, it seems that gets round the issue.
Bad handling of multi-part (spanned) archives: I guess WinRAR in this instance just doesn’t properly handle spanned archives.
Selecting one file first, then adding the rest … not sure why that works, to be honest.
The issue here is most probably with using WINE and a windows-program to read them, with all its foibles with direct hardware access.
Better to use a native application; maybe the one I suggested further up in this thread?
Just my 2p worth.
… or use Windows in a Virtual Machine to handle these operations (I have a sick-bucket ready if needed).
Okay, it sounds like unsupported magic, but what do I know? It has never occurred to me to even try that.
I know that some movie DVDs used to come as a flip-over type of disc, so when half of the movie was played, you got this animated logo on screen that showed a disc being turned over and inserted again. Maybe the idea of being able to continue extracting data stems from that.
UNRAR 7.01 freeware Copyright (c) 1993-2024 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[1,2] Alternate 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
ep4<path> Exclude the path prefix from names
f Freshen files
id[c,d,n,p,q] Display or disable messages
ierr Send all messages to stderr
inul Disable all messages
kb Keep broken extracted files
me[par] Set encryption parameters
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, skip]
op<path> Set the output path for extracted files
or Rename files automatically
ow Save or restore file owner and group
p[password] Set password
r Recurse subdirectories
sc<chr>[obj] Specify the character set
si[name] Read data from standard input (stdin)
sl<size>[u] Process files with size less than specified
sm<size>[u] Process files with size more than specified
ta[mcao]<d> Process files modified after <d> YYYYMMDDHHMMSS date
tb[mcao]<d> Process files modified before <d> YYYYMMDDHHMMSS date
tn[mcao]<t> Process files newer than <t> time
to[mcao]<t> Process files older than <t> time
ts[m,c,a,p] Save or restore time (modification, creation, access, preserve)
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
A simpler form exist
sudo pacman -Syu unrar-free
Which provides unrar-free --help
Usage: unrar-free [OPTION...] ARCHIVE [FILE...] [DESTINATION]
Extract files from rar archives.
-P, --print Print archive files to stdout
-x, --extract Extract files from archive (default)
-t, --list List files in archive
-f, --force Overwrite files when extracting
--extract-newer Only extract newer files from the archive
--extract-no-paths Don't create directories while extracting
-i, --outfile=FILE File to print the messages to (nul is short for
/dev/null, err is short for /dev/stderr)
-p, --password Decrypt archive using a password
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version