[wplug] rsync question
Larry Daberko
larry at daberko.com
Sat May 4 19:08:30 EDT 2013
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
More information about the wplug
mailing list