Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!lavaca.uh.edu!uhnix1!texbell!vector!holston!barton From: barton@holston.UUCP (Barton A. Fisk) Newsgroups: comp.unix.xenix Subject: Re: doscp problem Summary: wildcards don't work with doscp, here's a script Message-ID: <5696@holston.UUCP> Date: 22 Mar 90 19:46:47 GMT References: <459@memqa.uucp> Organization: Barton A. Fisk & Co. Lines: 19 In article <459@memqa.uucp>, qexal31@memqa.uucp writes: > > Here is my problem, I am running SCO Xenix 2.3.2 with 60 megs for Xenix and > 20 megs for DOS. While under Xenix I am trying to copy several (144) files > from the DOS partition using doscp. Here is the command I use: > doscp c:clips/exe/*.* *.* Yes, wildcards don't work with doscp :-(. However you can use a shell construct like: for i in `dosls c:clips/exe` do doscp c:clips/exe/$i . done This would copy everything in clips/exe to your current dir. Sure beats typing. Hope this helps. -- uucp: holston!barton