Skip to main content

moving data with rsyncd

This assumes we have setup a data share pointed at the rsyncd (d for daemon) and opened it up to a specific range of remote IP addresses. 

Get a list of files on in your GRIT managed folder 'mydata'

rsync --list-only rsync://reflection.grit.ucsb.edu/mydata/

which should output something like this (ie a list of contents):

rsync --list-only rsync://reflection.grit.ucsb.edu/mydata/
drwxr-xr-x           5 2023/09/07 12:36:18 .
-rw-r--r--          25 2023/09/07 12:33:46 README.txt
-rw-r--r--           0 2023/09/07 12:34:37 test.txt
-rw-r--r--           0 2023/09/07 12:36:18 test123

How to push data to the folder (if this is allowed):

rsync -avr /some/folder/ rsync://reflection.grit.ucsb.edu/mydata/

This all goes into a single folder. To create a folder on the destination, leave off the trailing slash

rsync -avr /some/folder rsync://reflection.grit.ucsb.edu/mydata/

You can also pull data, eg grab a whole folder:

rsync -avr rsync://reflection.grit.ucsb.edu/mydata/testing /my/local/folder