does rsync switch -a (ARCHIVE) always includes -l (symlinks)
does rsync option -a
(ARCHIVE) always includes -l
(symlinks) in linux systems?
I was revising some old scripts containing both options and thought to drop unneeded options. The script might be used by other people or system, so I’d like to double check
According to man rsync
it does:
-a archive mode is -rlptgoD (no -A,-X,-U,-N,-H)
So you do not need -l
if you’re using -a
.
It’s always been like that, one can view the source code (including the man pages for all revisions) here: https://download.samba.org/pub/rsync/src/