Re: scp+find, a little help please

From: Gary Kline (kline_at_thought.org)
Date: 07/15/03

  • Next message: Chuck Swiger: "Re: HP or Compaq servers."
    Date: Tue, 15 Jul 2003 11:17:19 -0700
    To: jan.muenther@nruns.com
    
    

    On Tue, Jul 15, 2003 at 05:48:01PM +0200, jan.muenther@nruns.com 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 user@host1:" host2:/dir
    > >
    > > What would be a suitable "find command" here?
    >
    > 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 to host2.
    >
    > Before you break your neck with (absolutely well possible) scripting
    > solutions, I suggest you have a look at rsync, which uses SSH for
    > transport by default now as well.
    > Or maybe check out rdiff-backup, of which a port has just been submitted
    > (AFAIK) if a backup is what you're after:
    >
    > http://rdiff-backup.stanford.edu/
    >

            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... .

            thanks guys.

            gary

    ===> Building for librsync-0.9.5.1
    cd . && automake --gnu --include-deps Makefile
    Makefile.am:21: `#' comment at start of rule is unportable
    Makefile.am:22: `#' comment at start of rule is unportable
    Makefile.am:23: `#' comment at start of rule is unportable
    Makefile.am:24: `#' comment at start of rule is unportable
    automake: configure.in: required file `./depcomp' not found
    /usr/local/share/automake/am/depend2.am: AMDEP does not appear in
    AM_CONDITIONAL
    /usr/local/share/automake/am/depend2.am: AMDEP does not appear in
    AM_CONDITIONAL
    /usr/local/share/automake/am/depend2.am: AMDEP does not appear in
    AM_CONDITIONAL
    /usr/local/share/automake/am/lang-compile.am: AMDEP does not appear in
    AM_CONDITIONAL
    gmake: *** [Makefile.in] Error 1
    *** Error code 2

    Stop in /usr/ports/net/librsync.
    *** Error code 1

    -- 
       Gary Kline     kline@thought.org   www.thought.org     Public service Unix
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Chuck Swiger: "Re: HP or Compaq servers."

    Relevant Pages

    • Re: error code is 80004005 and error code 1603
      ... your computers can not install SMS Advanced client due to error codes ... You want to know how to resolve this. ... computers, all of them with win 2000, I just can't install SMS Advanced ... Installation failed with error code 1603 ...
      (microsoft.public.sms.admin)
    • Re: 0x80070005 error on multiple computers
      ... The computers have standard ... I am getting the error code 0x80070005 on about ... Usually it's caused by security ... software, Group Policy setting, incorrect Permissions, or malware. ...
      (microsoft.public.windowsupdate)
    • Re: Can not get updates
      ... >I had the same problems (update does not work with same error code; ... I have installed these updates on three computers and know of another ... the problem is not a "bug" in the update but the ... did you disable your anti virus' auto scan before attempting to install ...
      (microsoft.public.windowsupdate)
    • Re: error code is 80004005 and error code 1603
      ... I checked your suggestion on 5 computers but on reg keys that you mentioned ... You want to know how to resolve this. ... Installation failed with error code 1603 ...
      (microsoft.public.sms.admin)

    Loading