tags:

views:

159

answers:

1

I'm looking for Nant script syntax that will copy from one folder to an other all files that were modified within last 5 days.

How I can cause to to include only modified files?

Thanks

A: 

You could use robocopy. Robocopy has an option to exclude older files. See this link.

http://en.wikipedia.org/wiki/Robocopy

You would then run Robocopy for a nAnt exec task.

Hope this helps

Shiraz

Shiraz Bhaiji