Skip to content

Commit 93c3bb9

Browse files
authored
Improve README (GoogleCloudPlatform#532)
@jerjou's suggestions.
1 parent ec23711 commit 93c3bb9

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

storage/storage-transfer/README.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,20 @@ Creating a one-time transfer from Amazon S3 to Google Cloud Storage.
5252
1. Under Security Credentials, create an IAM User with access to the bucket.
5353
1. Create an Access Key for the user. Note the Access Key ID and Secret Access Key.
5454
1. Set the `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables.
55-
1. In AwsRequester.java, fill in the user-provided constants.
5655
1. Compile the package with
57-
58-
```bash
59-
mvn compile
60-
```
61-
56+
```bash
57+
mvn compile
58+
```
6259
1. Run the transfer job with
63-
64-
```bash
65-
mvn exec:java \
66-
-Dexec.mainClass="com.google.cloud.storage.storagetransfer.samples.AwsRequester" \
67-
-DprojectId=your-google-cloud-project-id \
68-
-DjobDescription="Sample transfer job from S3 to GCS." \
69-
-DawsSourceBucket=your-s3-bucket-name \
70-
-DgcsSinkBucket=your-gcs-bucket-name
71-
```
72-
1. Note the job ID in the returned Transfer Job.
60+
```bash
61+
mvn exec:java \
62+
-Dexec.mainClass="com.google.cloud.storage.storagetransfer.samples.AwsRequester" \
63+
-DprojectId=your-google-cloud-project-id \
64+
-DjobDescription="Sample transfer job from S3 to GCS." \
65+
-DawsSourceBucket=your-s3-bucket-name \
66+
-DgcsSinkBucket=your-gcs-bucket-name
67+
```
68+
1. Note the job ID in the returned Transfer Job.
7369

7470
## Transfer data from a standard Cloud Storage bucket to a Cloud Storage Nearline bucket
7571

0 commit comments

Comments
 (0)