Rsync

Connect and list shares

nc -vn <ip> 873
@RSYNCD: 31.0
#list 

List files on the target

rsync -av --list-only rsync://<ip>/<share>
# or with creds
rsync -av --list-only rsync://user@<ip>/<share>

Copy all files from the target

rsync -av rsync://<ip>/<share> /tmp/out

Upload file to the target

rsync -av /tmp/out rsync://username@<ip>/<share>/<file>

Last updated