Welcome to the Linux Foundation Forum!

Lab 10.2 - Dot

Note the . at the end of the command.
$ rsync -av /tmp/transfer-lab/*.bin root@localhost:/tmp/receive/.

I don't understand... Why dot?

Comments

  • lee42x
    lee42x Posts: 380

    In this case the "." stops the creation of subdirectories and will produce an error on the screen if the subdirectories do not exist. Additional information is available in the "man rsync" document, under the "--dir" option.

Categories

Upcoming Training