Hello, I ran the following commands: rsync /tmp/foo remote: rsync remote:/tmp/foo . On the remote computer, the following commands were executed: rsync --server -e.LsfxC . . rsync --server --sender -e.LsfxC . /tmp/foo Does anyone know, what is the meaning of the three dots/periods in the above two commands? The first command ends with two dots (". .") and the second command has one dot (namely, the dot before /tmp/foo). (Yes, I know that --server and --sender are intended for internal use only. Despite that, I want to try to get two rsync children to talk to each other over a pipe created by a non-rsync parent.) Thank you, Parke
. is the 'current directory' notation in unix. .. is the parent directory. /kc On Mon, Oct 08, 2018 at 01:57:09PM -0700, Parke via rsync said: >Hello, > >I ran the following commands: > >rsync /tmp/foo remote: >rsync remote:/tmp/foo . > >On the remote computer, the following commands were executed: > >rsync --server -e.LsfxC . . >rsync --server --sender -e.LsfxC . /tmp/foo > >Does anyone know, what is the meaning of the three dots/periods in the >above two commands? The first command ends with two dots (". .") and >the second command has one dot (namely, the dot before /tmp/foo). > >(Yes, I know that --server and --sender are intended for internal use >only. Despite that, I want to try to get two rsync children to talk >to each other over a pipe created by a non-rsync parent.) > >Thank you, > >Parke > >-- >Please use reply-all for most replies to avoid omitting the mailing list. >To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync >Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- Ken Chase - Heavy Computing Inc. - Guelph Canada
On Tue, Oct 9, 2018 at 7:29 AM Ken Chase <rsync-list-m829 at sizone.org> wrote:> . is the 'current directory' notation in unix.Yes, I know what dot means to Unix. However, my question is: What is the meaning (to rsync) of the last two arguments to rsync when rsync is called with the --server option.> .. is the parent directory.Except in the example I gave it is dot space dot. Two separate arguments, each a single dot. rsync --server -e.LsfxC . . rsync --server --sender -e.LsfxC . /tmp/foo Cheers, Parke
Possibly Parallel Threads
- How do you exclude a directory that is a symlink?
- rsync --server command line options
- rsync --link-dest won't link even if existing file is out of date
- cut-off time for rsync ?
- rsync --link-dest and --files-from lead by a "change list" from some file system audit tool (Was: Re: cut-off time for rsync ?)