The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
If you run dircopy again, you will probably overwrite files, similar to rsync but without the smartness. There is a flag you can set locally to determine if target files should be removed, but I suspect there may be problems on a non-POSIX setup like Windows.
I think the best way to handle this on Windows is probably xcopy, which you can call in a shell using backticks or system. http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/xcopy.mspx As St. Larry says, be lazy, don't reinvent the wheel!
HTH, In reply to Re: Directory recursively copy
by sflitman
|
|