Welcome to the Linux Foundation Forum!

10.11 question

Options
fliker09
fliker09 Posts: 39
edited October 2017 in LFS211 Class Forum

Isn't this command supposed to have source and destination?

rsync -r --backup-dir=backup-$(DATE +%Y.%m.%d) --delete

Comments

  • lee42x
    lee42x Posts: 380
    edited October 2017
    Options

    Thank you for noticing this, the whole command is: 

    rsync -r --backup --backup-dir=backup-$(DATE +%Y.%m.%d) --delete /some/src/. /some/dest/.

    It will be corrected in the next release. 

Categories

Upcoming Training