ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: scp question - very urgent
Date Mon, 18 Jul 2005 21:57:16 GMT
This is an Ant user list. Is your question related to Ant?

-Rob A

> -----Original Message-----
> From: Srikrishna_Parthasarathy@timeinc.com
> [mailto:Srikrishna_Parthasarathy@timeinc.com]
> Sent: Monday, July 18, 2005 2:11 PM
> To: user@ant.apache.org
> Cc: woodchuck_5@yahoo.com
> Subject: RE: scp question - very urgent
> 
> 
> He have a new solaris box. So the new box doesn't contain existing
> directories ....i have to create like
> 
> /opt/bea
> /opt/weblogic
> /opt/oracle
> 
> what is the best way to do this ? By the way by scp command loses
> symbolic link copies....from the old box to the new box.I 
> tried tar but
> it is going out of disk space....
> 
> Any ideas ....
> 
> Thanks
> srikrishna
> 
> -----Original Message-----
> From: Woodchuck [mailto:woodchuck_5@yahoo.com] 
> Sent: Monday, July 18, 2005 4:56 PM
> To: Ant Users List
> Subject: Re: scp question - very urgent
> 
> 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
> 
> 
> --- Srikrishna_Parthasarathy@timeinc.com 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 weblogic@newitappstage:/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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message