Copying Multiple Files

Frank Ooms ooms at delgeo.UUCP
Mon May 28 16:34:06 AEST 1990


In article <4a9c480e.12c9a at digital.sps.mot.com> chen at 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			*/



More information about the Comp.unix.wizards mailing list