Path: utzoo!attcan!uunet!husc6!mailrus!rutgers!ucsd!ucsdhub!jack!elgar!ford
From: ford@elgar.UUCP (Ford Prefect )
Newsgroups: comp.sys.amiga
Subject: Re: multiple file copy using arp copy, how?
Summary: Or AmigaDOS, for that matter?
Message-ID: <172@elgar.UUCP>
Date: 6 Jun 88 02:16:46 GMT
References: <336@vedge.UUCP> <1234@csuna.UUCP>
Reply-To: ford@elgar.UUCP (Ford Prefect )
Organization: Omnicron Data Systems,  Bonita, CA
Lines: 34

In article <1234@csuna.UUCP> acphssrw@csuna.UUCP (Stephen R. Walton) writes:
>AmigaDOS's wild cards are surprisingly powerful:
>
>	copy x#?|file1|file2|f3|f4 to dest_dir
>
>Unfortunately, the ARP Copy won't do this:  it only gets the first file.
>The bug has been reported to the ARP people on BIX.  Also, even the
>AmigaDOS Copy appears only to handle the wild-carded argument x#? if
>it is the first one in the list.

I seem to remember running into another problem with filename-patterns
the AmigaDOS copy command: It only copies files which match one of the
first five patterns between the |'s.  I built a script to copy the
essential files from sys:c to ram:c, and tried to do it like this:

	mkdir ram:c
	copy c:list|dir|copy|run|info|execute|rename|delete|endcli ram:c
	assign c: ram:c

But it only copied list, dir, copy, run, and info.  It did not copy
execute, rename, or any of the others that I listed.  (I don't really
remember which order I listed the commands in, I just remember that I
had to split it into several copy commands of no more than five files
each.)

Does anyone know if this is a real bug?  Perhaps my Amiga was under the
influence of sunspots or something...  :-)

					-=] Ford [=-

"Once there were parking lots,		(In Real Life:  Mike Ditto)
now it's a peaceful oasis.		ford%kenobi@crash.CTS.COM
This was a Pizza Hut,			...!sdcsvax!crash!kenobi!ford
now it's all covered with daisies." -- Talking Heads