Skip to main content
added 9 characters in body
Source Link
Kusalananda
  • 355.9k
  • 42
  • 735
  • 1.1k

You're using --exclude (which expects a pattern) rather than --exclude-from (which reads fromexpects the name of a file containing patterns).

You also do not need -r (--recursive) with -a (--archive) as -a enables recursive syncing. In fact, -a is the same as -rlptgoD according to the manual.

You're using --exclude (which expects a pattern) rather than --exclude-from (which reads from a file containing patterns).

You also do not need -r (--recursive) with -a (--archive) as -a enables recursive syncing. In fact, -a is the same as -rlptgoD according to the manual.

You're using --exclude (which expects a pattern) rather than --exclude-from (which expects the name of a file containing patterns).

You also do not need -r (--recursive) with -a (--archive) as -a enables recursive syncing. In fact, -a is the same as -rlptgoD according to the manual.

Source Link
Kusalananda
  • 355.9k
  • 42
  • 735
  • 1.1k

You're using --exclude (which expects a pattern) rather than --exclude-from (which reads from a file containing patterns).

You also do not need -r (--recursive) with -a (--archive) as -a enables recursive syncing. In fact, -a is the same as -rlptgoD according to the manual.