doscp problem

Barton A. Fisk barton at holston.UUCP
Fri Mar 23 05:46:47 AEST 1990


In article <459 at memqa.uucp>, qexal31 at 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



More information about the Comp.unix.xenix mailing list