We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With args: '--exclude=dir1' works fine, dir1 is excluded. How to exclude multiple directories? I tried
args: '--exclude=dir1'
dir1
args: '--exclude=dir1 --exclude=dir2' args: '--exclude={dir1,dir2}' exclude: [dir1, dir2] exclude: ['dir1', 'dir2']
with no luck. Rsync doesn't exclude anything with these setups.
Rsync
Well, finally I figured out that it can be done like this:
args: '--exclude-from=list-of-files-to-exclude'
where list-of-files-to-exclude is file where all directories and files to be excluded are listed:
list-of-files-to-exclude
dir1 dir2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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: