Skip to content

Conversation

@danielkza
Copy link
Contributor

It requires the official AWS CLI to be available, and that credentials
be set up through some external method, such as environment variables,
IAM profiles, the AWS SDK configuratin.

The AWS CLI sync exclude rules are not as powerful as the ones supported by
lsyncd. Hence, some of the do not translate perfectly. For example, '*'
(asterisk) matches slashes, while it does not in lsyncd. Hence it is a good
idea to only use exclude patterns for full directories, either by using a
trailing / (slash) or ** (double asterisk), as those will be correctly
translated.

An initialSync options is provided as a convenience, since it's not easy to
make sure exclusion rules match when doing it manually. It will pull from
the target bucket to the local dir (the opposite of the regular behavior)
then exit immediately.

It requires the official AWS CLI to be available, and that credentials
be set up through some external method, such as environment variables,
IAM profiles, the AWS SDK configuratin.

The AWS CLI sync exclude rules are not as powerful as the ones supported by
lsyncd. Hence, some of the do not translate perfectly. For example, '*'
(asterisk) matches slashes, while it does not in lsyncd. Hence it is a good
idea to only use exclude patterns for full directories, either by using a
trailing / (slash) or ** (double asterisk), as those will be correctly
translated.

An initialSync options is provided as a convenience, since it's not easy to
make sure exclusion rules match when doing it manually. It will *pull* from
the target bucket to the local dir (the opposite of the regular behavior)
then exit immediately.
@axkibe
Copy link
Collaborator

axkibe commented Aug 22, 2017

Interesting, can you please add authorship (name and email) information to the file?

Since I don't know anything about AWS gives people a place to contact if they have an issue, things need updating etc.

@danielkza
Copy link
Contributor Author

@axkibe Done!

@axkibe axkibe merged commit bbe9c5f into lsyncd:master Aug 22, 2017
@axkibe
Copy link
Collaborator

axkibe commented Aug 22, 2017

Okay, thank you, merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants