"depth" of COPY?

This is a temporary forum setup for the purpose of discussing the EMC standards
Locked
User avatar
wkitty42
Registered User
Posts: 7
Joined: Tue Feb 21, 2006 8:21 am
Location: Central North Carolina, USA
Contact:

"depth" of COPY?

Post by wkitty42 » Sun Mar 12, 2006 5:50 pm

i've read everything i can locate and waded thru hundreds of messages but have not found an answer to this particular question...

how deep does the COPY command go with wildcards?

take a structure like this...

templates/subSilver/file1.foo
templates/subSilver/admin/file2.foo
templates/subSilver/images/file3.foo

is it sufficient to just

copy templates/subSilver/*.* to templates/subSilver/*.*

and be done with it? will COPY traverse the internal directory structure and (re)create it as needed?

User avatar
smithy_dll
Registered User
Posts: 461
Joined: Tue Jan 08, 2002 6:27 am
Location: Australia
Contact:

Re: "depth" of COPY?

Post by smithy_dll » Tue Apr 04, 2006 8:20 am

'*.*' matches "hello.dolly" and ".dolly" but not "hello" if that answers your question

'*' would match all of the above

As for the standard, the last should work, but I don't know personally how easyMOD has implemented it, sorry.
Image
phpBB, its open source, become involved, write a modification!
Modifications Database | MOD Development Forum Rules | MOD Studio

User avatar
Nux
Registered User
Posts: 943
Joined: Tue Jun 14, 2005 5:09 pm
Location: 3cities, Poland
Contact:

Re: "depth" of COPY?

Post by Nux » Tue May 02, 2006 7:22 am

Yes.

Code: Select all

copy templates/subSilver/*.* to templates/subSilver/*.*
Works for all of the foo's ;). Just checked with a test MOD to be sure.

Locked