Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!uunet!mcsun!hp4nl!ooms From: ooms@delgeo.UUCP (Frank Ooms) Newsgroups: comp.unix.wizards Subject: Re: Copying Multiple Files Message-ID: <1130@delgeo.UUCP> Date: 28 May 90 06:34:06 GMT References: <23368@adm.BRL.MIL> <16512@phoenix.Princeton.EDU> <207@taumetCOM> <16606@phoenix.Princeton.EDU> <4a9c480e.12c9a@digital.sps.mot.com> <13022@ulysses.att.com> Reply-To: ooms@delgeo.UUCP (Frank Ooms) Organization: Delft Geophysical b.v. Lines: 15 In article <4a9c480e.12c9a@digital.sps.mot.com> chen@digital.sps.mot.com (Jinfu Chen) writes: >I have yet to find a way in csh or bsh to do this simple task. How about : foreach f (foo.*) cp $f bar.$f:e end -- /* Frank Ooms, (31)15-621554 * * -- * * ..!hp4nl!delgeo!ooms */