Skip to content
New issue

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

Fix rsync --exclude argument (fixes #7320) #7321

Closed
wants to merge 1 commit into from
Closed

Fix rsync --exclude argument (fixes #7320) #7321

wants to merge 1 commit into from

Conversation

laggingreflex
Copy link

No description provided.

@sethvargo
Copy link
Contributor

Hi @laggingreflex

Thank you for the PR. Unfortunately this is not a valid fix (the exclude command does not accept an equals sign) and the build is broken.

@sethvargo sethvargo closed this May 27, 2016
@laggingreflex
Copy link
Author

I too thought it was weird that putting equal sign fixed the issue for me, but it actually did. I'm on Windows using rsync from Cygwin and rcync -h output tells me to use an equals sign:

    C:\cygwin\bin>rsync
    rsync  version 3.1.2  protocol version 31
    ...
    Options
        ...
         --exclude=PATTERN       exclude files matching PATTERN
         --exclude-from=FILE     read exclude patterns from FILE
         --include=PATTERN       don't exclude files matching PATTERN
         --include-from=FILE     read include patterns from FILE
         --files-from=FILE       read list of source-file names from FILE
        ...

And I even searched around whether it's the correct syntax or not. These docs show in every example that an equals sign is used: https://download.samba.org/pub/rsync/rsync.html

Could it be one of those things that not usually required, but unless a problem like this happens? Maybe it's an issue only on Windows?

@Valgard
Copy link

Valgard commented Jun 3, 2016

I use rsync on my debian systems and it also requires an equal sign to work correctly.

rsync  version 3.0.9  protocol version 30
...
Options
...
     --exclude=PATTERN       exclude files matching PATTERN
     --exclude-from=FILE     read exclude patterns from FILE
     --include=PATTERN       don't exclude files matching PATTERN
     --include-from=FILE     read include patterns from FILE
     --files-from=FILE       read list of source-file names from FILE
...

@laggingreflex laggingreflex deleted the rsync--exclude branch April 3, 2020 02:44
@ghost
Copy link

ghost commented Apr 4, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants