Hi Everybody:

I am new to scripting and I need somebody to help me with a script to copy a folder structure,just copy the structure of the folder , no the data.
Example:

-Myfolder
file1
. subfolder1
file2
file3
. subfolder2
file4
. subfolder3
file5
file6

I want to copy just the structure of the folder, removing all the files inside of directories, like this:

-Myfolder
. subfolder1
. subfolder2
. subfolder3

Then, the final result (the folder structure) should be copied to a target direcory, like this.

- MyTargetDir
- Myfolder
. subfolder1
. subfolder2
. subfolder3

Thanks in advance.