I am trying to build a list of files to be excluded.
The absolute path works fine! But when I try to use the relative path. I get the following error:
rsync: failed to open exclude file exclude-list: No such file or directory (2)rsync error: error in file IO (code 11) at exclude.c(1178) [client=3.1.2]
the exclude-list is the file name. It is in the source directory at the root
My syntax is
rsync -av --delete --exclude-from='exclude-list' /source /destination
I would appreciate any help