R
Roedy Green
Is there a utility around, preferably with Java source, that is like
XCOPY to copy directory trees, or just the *.java files in a directory
tree to matching tree with this wrinkle.
It suppresses the copy of the target file is already identical. E.g.
It does not copy unless the target in older or does not exist.
It should create new directories as needed.
4NT copy has a /U option, but the /S option does not work for
wildcards. XCOPY itself has no /U option.
If someone wants to write one, they could use FileTransfer
http://mindprod.com/products1.html#FILETRANSFER to do the copies. I
have some code to show how you scan the tree recursively.
The hard part is parsing the command line and it various
abbreviations.
XCOPY to copy directory trees, or just the *.java files in a directory
tree to matching tree with this wrinkle.
It suppresses the copy of the target file is already identical. E.g.
It does not copy unless the target in older or does not exist.
It should create new directories as needed.
4NT copy has a /U option, but the /S option does not work for
wildcards. XCOPY itself has no /U option.
If someone wants to write one, they could use FileTransfer
http://mindprod.com/products1.html#FILETRANSFER to do the copies. I
have some code to show how you scan the tree recursively.
The hard part is parsing the command line and it various
abbreviations.