hihi, why don't you just use ant's <copy> task anyway with the attribute overwrite="false". this will only copy files that have changed (newer timestamp) as well as new files that exists in the source but not in the target. this task however, will not prune the target for you if the source has deletions...
woodchuck --- [EMAIL PROTECTED] wrote: > I am trying to recursively copy dir 's from one machine to another... > > > > I issue the command from the old itappstage machine > > > > Scp -p -r weblogic [EMAIL PROTECTED]:/opt > > > > ....what is the best way to check if the no of files in the new > machine > matches the one with the old..... > > > > > > Eager to > > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]