Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!elroy.jpl.nasa.gov!sdd.hp.com!wuarchive!psuvax1!psuvm!auvm!giampal From: GIAMPAL@auvm.auvm.edu Newsgroups: comp.sys.amiga.introduction Subject: Re: Wildcards in the CLI Message-ID: <91128.081419GIAMPAL@auvm.auvm.edu> Date: 8 May 91 12:14:19 GMT References: <1991Apr25.100919.21595@fwi.uva.nl> <21179@cbmvax.commodore.com> Organization: The American University - University Computing Center Lines: 18 In article , mwm@pa.dec.com (Mike (My Watch Has Windows) Meyer) says: >For instance, on unix, to move all the .c files out of a directory >requires exec'ing one cp per file, even though cp takes multiple >arguments. You do: > > find . -name '*.c' -exec cp '{}' dest \; > Mike, I don't think that's the case in Unix (at least not under Csh on SunOS greater than 3.5). I normally do : mv *.c /tmp And that works just fine. Of course if I want to move directories I have to do them separately, but there's no need to use find to just move a couple of files to another directory. --dominic