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:[EMAIL PROTECTED] Sent: Monday, July 18, 2005 5:57 PM To: Ant Users List Cc: [EMAIL PROTECTED] Subject: RE: scp question - very urgent This is an Ant user list. Is your question related to Ant? -Rob A > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Monday, July 18, 2005 2:11 PM > To: user@ant.apache.org > Cc: [EMAIL PROTECTED] > 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:[EMAIL PROTECTED] > 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 > > > --- [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] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]