[Coco] Copy with wildcards

Stephen Castello zootzoot at cfl.rr.com
Sat Jan 26 21:22:34 EST 2008


On Sat, 26 Jan 2008 23:37:20 -0300, Diego Barizo
<diegoba at adinet.com.uy> had a flock of green cheek conures squawk out:

>I'm trying to copy a few files from one directory to another in the same 
>disk
>I'm using
>:copy /dd/CMDS/g* /dd/MV
>
>But keep getting
>copy: must specify output directory if more than 2 files
>
>The directory MV already exists, and I've tried the command from /dd 
>/dd/CMDS and /dd/MV , using full and partial paths, always with the same 
>results.
>
>Any help?
>
>Thanks,
>Diego

The shell has a limit on how long the command line can be.  That error
message usually means the wildcard made it too long.

Do a chd to /dd/cmds and run it from there.


Stephen
-- 



More information about the Coco mailing list