[raspberry-vi] Re: Syncing files

  • From: Mike Ray <mike@xxxxxxxxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Wed, 27 Jul 2016 08:27:35 +0100


There is something called 'incron' which is a cron-like system for
watching for file-system events and running a script when something changes.

Owncloud has been forked to make nextcloud.  That might be easier than
owncloud to set up.



On 27/07/2016 03:18, Tim Chase wrote:

I don't have an immediate solution for real-time syncing, but I'd
recommend using a version-control system like git or subversion or
mercurial.  It works well for syncing edits on the same file as
divergent users edit the same file.

-tim


On July 26, 2016, Amanda Lacy wrote:
What's the easiest way to sync files between the Pi and another
computer? I'm looking for simple to set up and use via the command
line. There appears to be no Dropbox installation for the Pi. Rsync
won't update the file on one end as you make changes on the other.

Also, is it even possible to cause an editor to reload a file when
it detects that there's a more recent version? Right now, if I open
a test file in nano, then change that file on my other machine and
send the changes to the pi, what I see in nano doesn't reflect the
change until I exit and reopen the file.

In case anyone's wondering, I'm working on a system that should
allow blind students to read notes in class as a note taker types
them out in real time.

Amanda
=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the
Raspberry Pi Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the
views and attitudes expressed by the subscribers to this list do
not reflect those of the Foundation.

Mike Ray, list creator, January 2013

=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of 
the Foundation.

Mike Ray, list creator, January 2013



-- 
Michael A. Ray
Analyst/Programmer
Witley, Surrey, South-east UK

Eyes-free Linux:
http://eyesfreelinux.ninja/

Raspberry VI:
http://www.raspberryvi.org/

=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: