Re: Re: scp+find, a little help please

2003-07-16 Thread jan.muenther
Hello, > Well, I tried both the standford tarballs and the ports' > stuff. Both fail with this. Does anybody know what I > need to do to fix this? ...Before I scrounge around in > the code, that is... . Well, dunno, really - I didn't cvsup my ports and tried to build it

Re: scp+find, a little help please

2003-07-15 Thread Gary Kline
On Tue, Jul 15, 2003 at 05:48:01PM +0200, [EMAIL PROTECTED] wrote: > > Hi there, > > > Need to set up scp to copy only newer files and directories between two > > computers. > > > > The basic setup is like: > > scp -pr [EMAIL PROTECTED]:" host2:/dir > > > > What would be a suitable "find comma

Re: scp+find, a little help please

2003-07-15 Thread Chuck Swiger
Per olof Ljungmark wrote: [ ... ] Last time I looked at rsync it did not create new directories, perhaps that changed? Or maybe I'm completely wrong... I'll have a look at rdiff then. "rsync -a" should do what you've asked for, including creating new directories and dealing with symlinks properl

Re: scp+find, a little help please

2003-07-15 Thread Per olof Ljungmark
Erm, newer than *what*? find needs a file as a comparison parameter to detetermine whether another file is newer than it or not. I assume you mean you want to copy only files from host1 to host2 which exist on both machines, with host1 potentially holding newer versions that should get synchronized

Re: scp+find, a little help please

2003-07-15 Thread jan.muenther
Hi there, > Need to set up scp to copy only newer files and directories between two > computers. > > The basic setup is like: > scp -pr [EMAIL PROTECTED]:" host2:/dir > > What would be a suitable "find command" here? Erm, newer than *what*? find needs a file as a comparison parameter to detet