[Coco] LHA problem
Stephen H. Fischer
SFischer1 at Mindspring.com
Sat Feb 14 04:25:19 EST 2015
Hi,
I suggest you use the "t" command to shellplus to see what the wildcard expansion actually is.
----------------------------
OCT86 90/08/15 09:29 A0
CMDS 90/08/15 09:29 80
gotoxy 00/00/00 00:01 3F
HGraph 00/00/00 00:01 3441
SOURCE 90/08/15 09:29 1A0
gotoxy 00/00/00 00:01 485
HGraph.c 00/00/00 00:01 17FF
cls 00/00/00 00:01 71
printat 00/00/00 00:01 A6
toggle 00/00/00 00:02 72
box 00/00/00 00:02 11C
fillbox 00/00/00 00:02 D7
pixsaver 00/00/00 00:02 1A5
pixshow 00/00/00 00:02 241
calc 00/00/00 00:02 3C2
make_scratchpad 00/00/00 00:02 AC
read.me.first 00/00/00 00:01 299
----------------------------
I see two folders, "CMDS" and 'SOURCE" and one file "read.me.first".
I have not used LHA for many decades but as it is a very old program it might not know that a folder is different from a file and that the entire folder needs to be processed.
":lha a -r ../oct86.lzh *"
expands to "lha a -r ../oct86.lzh read.me.first CMDS SOURCE". The "t" command shows what the "lha" command actually sees.
Yes, many zip programs will recognize a folder and add the entire contents to the zip file.
I applied both the "t" command patch and the patch that turns wildcards on.
That the patches cannot be applied is known and can be traced back to version 2.2a.
SHF
----- Original Message -----
From: "Bob Devries" <devries.bob at gmail.com>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Friday, February 13, 2015 11:09 PM
Subject: [Coco] LHA problem
> Hi all,
>
> I'm trying to use LHA to archive my Rainbow on disk collection. I
> currently have a directory for each year that I have. I CHD to the
> directory I want to archive:
>
> CHD /sd1/ROD_OS9/OCT86
>
> then my LHA command line is:
>
> :lha a -r ../oct86.lzh *
>
> LHA responds with:
>
> ==> 60% read.me.first o
>
> Can't find file : 'CMDS'
> Can't find file : 'SOURCE'
>
> LHA Error #1
> ERROR #001
>
> I'm pretty sure I have the correct syntax; note the leading : for
> wild-card expansion in Shell+ 2.2.....
> 'a' for add
> '-r' for recursively collect files
> '../oct86.lzh' the target lzh archive file
> '*' do all files
>
> What am I doing wrong? Yes, lha and xlh (version 2.11C IIRC) are both in
> my CMDS directory.
>
> Regards, Bob Devries
> Dalby, QLD, Australia
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>
More information about the Coco
mailing list