Posts: 390 from 2003/2/24
From: finland, the l...
What am I doing wrong?
Multivolume support is quite flaky in LhA, and it is very very very old. How old? It was meant to be used with floppies. It's that old...
-V parameter argument should be given directly after the argument. So: -V1048576
However, I'm pretty sure that this option doesn't work quite as you'd expect it to. Since it originally was used to split archive to floppies, it will prompt you to hit enter after each split (this leaves user option to switch the removable media such as the floppy).
You can work around this when compressing by using NIL: as input for LhA: lha options <NIL:
When decompressing you can give -V without the size. But you're supposed to hit Q after the last multivolume part has been processed (yes, you need to manually keep track of it), and thus <NIL: doesn't quite work here, unless if you will abort the command once it can no longer find more parts (and keeps reporting unable to open file archive.l<number>)
It's far from perfect, but I didn't feel like messing with this too much as I would have likely broken the backwards compatibility.