[comp.sys.amiga] wilcard pattern matching, other questions...

liberato@dri.com (Jimmy Liberato) (12/14/90)

I inadvertantly created an lharc archive that contains all *.*
(or #?.#?) files on my disk but I meant it to include ALL files.
Since this file is extremely large and has already been sent to its
destination I was wondering if there was any way to recursively
identify all the files I missed that DON'T match *.* so that I can
create a supplementary archive instead of a completely new one?  This 
question is not actually lharc specific.  I realized that I was
not able to do things that are quite simple under unix and msdos.
I have arp shell and probably most of the little utilities that
come down the line (most that I have probably forgotten what they do!).
I spend all my time on other systems and I have suddenly discovered
what a novice I am with AmigaDOS even after a few years.  

So, I need suggestions for tools or shells that can do the following:

1. Is there a "not this but everything else" utility?
2. How do I change protection bits recursively.
3. Is there something like an "xcopy" command (or something to mark the
   archive bit)?
4. I was wishing that I could do more with piping from stndin like the
  "I" flag in zoo allows.  Few commands would allow that.
5. Is there a clone of unix "find"?  I have several finds but they don't
   do what I want.


Thanks for any tips!

--
Jimmy Liberato   liberato@dri.com
                 ...uunet!drivax!liberato

ben@servalan.uucp (Ben Mesander) (12/16/90)

In article <20AVDWK@dri.com> liberato@dri.com (Jimmy Liberato) writes:
>I inadvertantly created an lharc archive that contains all *.*
>(or #?.#?) files on my disk but I meant it to include ALL files.
>Since this file is extremely large and has already been sent to its
>destination I was wondering if there was any way to recursively
>identify all the files I missed that DON'T match *.* so that I can
>create a supplementary archive instead of a completely new one?  This 
>question is not actually lharc specific.  I realized that I was
>not able to do things that are quite simple under unix and msdos.
>I have arp shell and probably most of the little utilities that

BING!

The arp commands use the ~ as an "everything but" indicator:
list ~#?.#?

It's in the ARP docs, might be time to read them...

ben@epmooch.UUCP

d39142c@kaira.hut.fi (Sami "Suakki" Suokas) (12/26/90)

In article <20AVDWK@dri.com> liberato@dri.com (Jimmy Liberato) writes:
   1. Is there a "not this but everything else" utility?

Try using the ARP ~ command.  You can find the instructions in the
ASHMan file that came along with your ARP.

   2. How do I change protection bits recursively.

protect * +rwed all (works in ARP).

   3. Is there something like an "xcopy" command (or something to mark the
      archive bit)?

protect <filename> +a

Sami Riku Wilhelm Suokas, Ti 1.vsk--EMail:                     /// C= Amiga
Keihastie 16 B                    --srs@niksula.hut.fi        /// the one
SF01280 VANTAA, Finland           --d39142c@kaira.hut.fi \\\ /// and only!
Puh-elin: ?-358-0-305993          --ssuokas1@otax.hut.fi  \XXX/ -----------