rsync question...

bruce badouglas at gmail.com
Tue Dec 19 01:08:38 UTC 2023


Hey/hi.

Trying to test rsync to copy all files from a remote srvr to the local
srvr, excluding a few dirs.

I'm running the "rsync" as root, so there shouldn't be any perms/user issues.

I'm hoping that rsync maintains the user acl from the remote on the local srvr.

The cmd
sshpass -p 'passfoo'  rsync -avr -e ssh root at 1.2.3.4:/  .
--exclude=/sys  --exclude=/proc

shows a huge list of files.. so it's iterating through the remote
srvr. But it's not appearing to create/copy the files to the local
srvr.. Ie, the cases where there's no child dir, I would assume that
rsync will create the "parent" dir to copy/insert the file.

Any pointers.

thanks



More information about the ubuntu-users mailing list