Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!pride386!terry From: terry@pride386.UUCP (Terry Lyons) Newsgroups: comp.unix.xenix Subject: Re: doscp problem Summary: just reinvent the wheel Message-ID: <251@pride386.UUCP> Date: 22 Mar 90 07:26:59 GMT References: <459@memqa.uucp> Organization: Pride Plastics Inc., Buena Park, CA Lines: 27 In article <459@memqa.uucp>, qexal31@memqa.uucp writes: > > from the DOS partition using doscp. Here is the command I use: > doscp c:clips/exe/*.* *.* > I would think this command would copy all files in the exe directory to the > current Xenix directory, but I get an error message like: can't find *.* nope... wild cards are a no-no was a long time ago ( don't use DOS much ) dosdir c:/clips/exe | awk ' /exe/ { print " doscp c:/clips/exe/",$1,".",$2," ." } ' | sh I think this will work if it doesn't change | sh to foo ; sh foo that should do it, if you find you do this a lot type the command into a file and just change the file information as needed hope this helps! terry -- ************************************************************************** * UUNET ...!pride386!terry * FAX (714) 739 - 2203 * * Pern is a dragons best freind * **************************************************************************