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

andshould getoutput 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
}}}

YouHow can alsoto push data:data to the folder (if this is allowed):

{{{

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

This all goes into a single folderfolder. soTo trycreate to keep whatevera folder structure makes sense foron the datadestination, you are uploading by leavingleave off the trailing slash.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
}}}