[wplug] rsync question

Michael O'Connor mpop at mikeoconnor.net
Sun May 5 10:33:46 EDT 2013


On thanks.  So you are saying that if I want to stay with rsync just run it
in with the spirce and destination switched after I do work on the other
box.  And to the C option that is to ssh not rsync all it does is to tell
ssh to compress the data when it connection.  Not that great for a ssh
shell but for ssh tunnels of other programs it is nice.  Thanks.
On May 4, 2013 7:08 PM, "Larry Daberko" <larry at daberko.com> wrote:

> Hello,
>
> While I'm not familiar with the -C option, I usually write my rsync
> commands this way:
>    rsync <options> source destination
>
> as such:
>
>    rsync -avP -e ssh /home/mpop/gdrive mpop at xxx.xxx.net:/home/mpop/
>
> To reverse that and download to the laptop
>
>    rsync -avP -e ssh mpop at xxx.xxx.net:/home/mpop/gdrive /home/mpop/
>
> But doing revisions on both ends tends to be confusing and you could
> overwrite your changes if you forget.  I recommend dropbox or something
> similar to sync files between both systems and doing a backup from
> either system to somewhere else.
>
> -Larry
>
> On 05/04/2013 06:17 PM, Michael O'Connor wrote:
> > I am wondering if any one could help or know how to do 2 way syncing with
> > rsync. Right now I am doing it only one way to my home computer using the
> > following command "rsync -avP /home/mpop/gdrive -e ssh -C
> > mpop at xxx.xxx.net:/home/mpop/"
> > (home domain removed)  to sync from my laptop and place the files on my
> > home computer, but I would like to be able to edit files on the home
> > computer and when I rsync on the laptop to have it find the changed ones
> on
> > the home computer also and pull them down instead of only pushing changes
> > from the laptop.
> >
> > Any help would be appreciated.
> >
> > Thanks
> > Michael P. O'Connor
> > _______________________________________________
> > wplug mailing list
> > wplug at wplug.org
> > http://www.wplug.org/mailman/listinfo/wplug
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>


More information about the wplug mailing list