'Read a list of excluded folders from a file for Amazon S3 sync
I want to use Amazon S3 Sync to copy files from one bucket to another, it would be good if I can just list down a list of folders that I want to exclude in a text file, and then I call s3 sync and pass in the folder name one by one, by going through the text file.
Even though Amazon S3 sync supports --exclude parameter, but it appears that you can only specify one pattern at a time-- it doesn't seem to support the "get a list of folders from a text file and exclude them one by one" kind of operation.
Any idea how this can be done?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
