You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect some escaping happens when using multiple options, which is treated as a single option --exclude=dir1\ --exclude=dir2 (so the value of --exclude is dir1 --exclude=dir2).
With
args: '--exclude=dir1'
works fine,dir1
is excluded. How to exclude multiple directories? I triedwith no luck.
Rsync
doesn't exclude anything with these setups.Well, finally I figured out that it can be done like this:
where
list-of-files-to-exclude
is file where all directories and files to be excluded are listed:The text was updated successfully, but these errors were encountered: