0

I am using rsnapshot to manage my backups. The file /home/foo/bar is a symbolic link to a folder, and I want to exclude it. The --exclude option does not work, because if the pattern ends with a / then it will only match a directory, not a symlink.

How could I do?

zar
  • 113
  • 1
  • 7
  • do you want to exclude the symlink or the folder structure behind the symlink? – mnagel Jun 27 '17 at 19:28
  • I wrote a better explanation here: https://unix.stackexchange.com/questions/371461/how-to-exclude-symbolic-link-in-rsync-rsnapshot/372151#372151 – zar Jun 28 '17 at 20:08

0 Answers0