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

Docunent --raw option for commands file #781

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,15 @@ rm s3://bucket/2020/03/19/file2.gz

# rename an S3 object
mv s3://bucket/2020/03/18/file1.gz s3://bucket/2020/03/18/original/file.gz

```

Note - it's possible to have files on S3 that contain glob pattern characters like `*` and `?`. If you need to work with files like this in a commands file you will receive an error like
`can not contain glob characters`. You can work around this by adding the `--raw` option to that line in the commands file. For example:

`cp --raw "s3://bucket/foo/bar*.txt" "/var/tmp/bar*.txt"`


#### Sync
`sync` command synchronizes S3 buckets, prefixes, directories and files between S3 buckets and prefixes as well.
It compares files between source and destination, taking source files as **source-of-truth**;
Expand Down
Loading