Choose style:

Author Topic: rsync clarification  (Read 1788 times)

0 Members and 1 Guest are viewing this topic.

Offline rmcellig

  • Member
  • ***
  • Posts: 205
  • Karma: 13
  • New Forum User
    • View Profile
rsync clarification
« on: April 19, 2014, 07:02:17 am »
I am using rsync to backup to three PC's on my LAN. They are all running Linux except for my iMac which is using Snow Leopard.

For some reason, my iMac never shows the files as being updated. It always seems to recheck all the files that have been backed up. Here is what it looks like:

Code: [Select]
randy@petty ~ $ rsync -av --progress  /media/passport/lps/M
building file list ...
362 files to consider
   210043236 100%    1.44MB/s    0:02:18 (xfer#1, to-check=360/362)
M/mark-almond_best of...flac
   379326169 100%    1.49MB/s    0:04:02 (xfer#2, to-check=359/362)
   357642670 100%    1.44MB/s    0:03:56 (xfer#3, to-check=358/362)
   144335936 100%    1.57MB/s    0:01:27 (xfer#4, to-check=357/362)
M/mcintyre ken - introducing the vibrations.flac
   417685405 100%    5.31MB/s    0:01:15 (xfer#5, to-check=356/362)

If I run the same on my laptop, this is what I get:

Code: [Select]
randy@petty ~ $ rsync -av --progress  /media/passport/lps/
sending incremental file list

sent 54077 bytes  received 137 bytes  12047.56 bytes/sec
total size is 343210665100  speedup is 6330664.87
randy@petty ~ $

Any idea what I should do and what may be causing this?
« Last Edit: April 19, 2014, 01:40:16 pm by rmcellig »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26035
  • Karma: 2837
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: rsync clarification
« Reply #1 on: April 19, 2014, 07:20:29 am »
so this is rsync running on a mac ?

deos the mac version have different command line switches ?
Code: [Select]
man rsync
(that's assuming mac's have manpages)
« Last Edit: April 19, 2014, 07:23:21 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint

Offline rmcellig

  • Member
  • ***
  • Posts: 205
  • Karma: 13
  • New Forum User
    • View Profile
Re: rsync clarification
« Reply #2 on: April 19, 2014, 01:57:19 pm »
It looks like the man page is the same as the one in Linux. Here it is for your information. It seems that the files did sync on the iMac but it took a while. I will keep an eye on what's going on. In the meantime, anything else you would suggest I try? Right now I am working on the letter M folder on my iMac so I can change the rsync code I am using to just sync with that folder for now and see what happens.

Spoiler (click here to view / hide)
rsync(1)                                                              rsync(1)

       rsync - faster, flexible replacement for rcp

       rsync [OPTION]... SRC [SRC]... DEST

       rsync [OPTION]... SRC [SRC]... [USER@]HOST:DEST

       rsync [OPTION]... SRC [SRC]... [USER@]HOST::DEST

       rsync [OPTION]... SRC [SRC]... rsync://[USER@]HOST[:PORT]/DEST

       rsync [OPTION]... SRC

       rsync [OPTION]... [USER@]HOST:SRC [DEST]

       rsync [OPTION]... [USER@]HOST::SRC [DEST]

       rsync [OPTION]... rsync://[USER@]HOST[:PORT]/SRC [DEST]

       rsync is a program that behaves in much the same way that rcp does, but
       has many more options and uses  the  rsync  remote-update  protocol  to
       greatly  speed  up  file  transfers  when the destination file is being

       The rsync remote-update protocol allows rsync to transfer just the dif-
       ferences between two sets of files across the network connection, using
       an efficient  checksum-search  algorithm  described  in  the  technical
       report that accompanies this package.

       Some of the additional features of rsync are:

       o      support  for copying links, devices, owners, groups, and permis-

       o      exclude and exclude-from options similar to GNU tar

       o      a CVS exclude mode for ignoring the same files  that  CVS  would

       o      can use any transparent remote shell, including ssh or rsh

       o      does not require super-user privileges

       o      pipelining of file transfers to minimize latency costs

       o      support  for anonymous or authenticated rsync daemons (ideal for

       Rsync copies files either to or from a remote host, or locally  on  the
       current  host  (it  does  not  support copying files between two remote

       There are two different ways for rsync  to  contact  a  remote  system:
       using  a  remote-shell program as the transport (such as ssh or rsh) or
       contacting an rsync daemon directly via TCP.  The  remote-shell  trans-
       port  is used whenever the source or destination path contains a single
       colon (:) separator after a host specification.   Contacting  an  rsync
       daemon  directly happens when the source or destination path contains a
       double colon (::) separator after a  host  specification,  OR  when  an
       rsync://  URL  is  specified (see also the "USING RSYNC-DAEMON FEATURES
       VIA A REMOTE-SHELL CONNECTION" section for an exception to this  latter

       As a special case, if a single source arg is specified without a desti-
       nation, the files are listed in an output format similar to "ls -l".

       As expected, if neither the source or destination path specify a remote
       host, the copy occurs locally (see also the --list-only option).
« Last Edit: April 21, 2014, 10:11:27 pm by mac »