Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to copy one directory with all content using nant script?

I need to copy one folder with all content.

My folder structure is like this

Main Folder

folder1

`1.zip`
`2.zip`

Folder2

`3.zip`
`4.zip`

How to copy main folder with all these content using nant script.

Please help me. Thanks

like image 994
DEVOPS Avatar asked Oct 18 '11 04:10

DEVOPS


1 Answers

<copy todir="newDir">
  <fileset basedir="oldDir">
     <include name="**/*" />
  </fileset>
</copy>
like image 164
yas4891 Avatar answered Sep 30 '22 17:09

yas4891