Erick Tryzelaar
2006-Oct-27 03:39 UTC
resolving difference in interface between rsync and cp/rcp/scp
I've run into a situation where we'd like to replace rcp with rsync, but we've run into a difference in interface, which is causing us problems. Here's the problem. If we run this in rsync: > mkdir tmpdir; cd tmpdir > mkdir a; touch a/b > rsync -r a b/ > ls b a/ But for all the other programs, we get something different: > cp -r a c/ > ls c foo > cp -r a d/ > ls d foo > cp -r a e/ > ls e foo Is there a flag for rsync that I'm missing that supports this behavior? I was unable to find one. Thanks, -e
Erick Tryzelaar
2006-Oct-27 03:44 UTC
resolving difference in interface between rsync and cp/rcp/scp
Erick Tryzelaar wrote:> But for all the other programs, we get something different: > > > cp -r a c/ > > ls c > foo > > cp -r a d/ > > ls d > foo > > cp -r a e/ > > ls e > fooThat should be rcp in the second case, and scp in the third. Sorry about the transcription error. -e
Erick Tryzelaar
2006-Nov-01 05:19 UTC
resolving difference in interface between rsync and cp/rcp/scp
No one has any ideas? -e Erick Tryzelaar wrote:> I've run into a situation where we'd like to replace rcp with rsync, > but we've run into a difference in interface, which is causing us > problems. Here's the problem. If we run this in rsync: > > > mkdir tmpdir; cd tmpdir > > mkdir a; touch a/b > > rsync -r a b/ > > ls b > a/ > > But for all the other programs, we get something different: > > > cp -r a c/ > > ls c > foo > > cp -r a d/ > > ls d > foo > > cp -r a e/ > > ls e > foo > > Is there a flag for rsync that I'm missing that supports this > behavior? I was unable to find one. > > Thanks, > -e
Possibly Parallel Threads
- [LLVMdev] updating the "Getting Started" page with more info about the gcc4 frontend
- [LLVMdev] updating the "Getting Started" page with more info about the gcc4 frontend
- SCP or RCP standards
- [LLVMdev] "Name that compiler"
- AIX SSH 2.x ssh and /etc/ftpusers rcp rlogin WRONG !