ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Srikrishna_Parthasara...@timeinc.com>
Subject RE: scp question - very urgent
Date Tue, 19 Jul 2005 14:54:21 GMT
Yes. I want to a have a build file. We have about 4 environments. I want
to have a standardized script to copy files between machines driven
through a property file. Scp command for some reason loose symbolic link
while copying between machines. We are using solaris 2.8. Is there any
arguments you can pass to scp command to preserve symbolic link? 

-----Original Message-----
From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com] 
Sent: Monday, July 18, 2005 5:57 PM
To: Ant Users List
Cc: woodchuck_5@yahoo.com
Subject: RE: scp question - very urgent

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


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


Mime
View raw message