Linux - rsync how to copy files from symlink
Hello, I'm doing sync on linux using rsync, which works great. But I'm missing all the content in the backup, which is hidden under the symlink. Is there a parameter for rsync to copy the symlink content? Thanks
Good day,
so that rsync also copies the contents of the symlink, just add the parameter -L ie.
REPLY
Good day,
so that rsync also copies the contents of the symlink, just add the parameter -L ie.
rsync -L / dir1 / dir2