Skip to content

Commit 528ef7a

Browse files
committed
Fix readme formatting
1 parent 1e4ec4c commit 528ef7a

File tree

1 file changed

+19
-28
lines changed
  • S3/S3_Transfer_Acceleration/Bash-script

1 file changed

+19
-28
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
# test-upload.sh
22

3-
*Bash script to test and compare the upload speeds to S3 Bucket via direct upload and via Transfer Acceleration from a Linux machine.*
3+
*Bash script to test and compare the upload speeds to S3 Bucket via direct upload or with Transfer Acceleration.*
44

5-
# test-upload-macosx.sh
6-
7-
*Bash script to test and compare the upload speeds to S3 Bucket via direct upload and via Transfer Acceleration from a MAC OSX machine.*
8-
----
9-
10-
It is a bash script that facilitates the upload of objects to S3 Buckets via a direct upload as well as via Transfer Acceleration.The script leverages the AWS CLI credentials and commands and can be used to comapre the upload speed to the S3 Bucket via a direct upload or via Transfer Acceleration.Once the file is gets uploaded, the script takes a user input, to check whether the user wants to delete the uploaded file or not.
5+
It is a bash script that facilitates the upload of objects to S3 Buckets via a direct upload as well as via Transfer Acceleration. The script leverages the AWS CLI credentials and commands and can be used to comapre the upload speed to the S3 Bucket via a direct upload or via Transfer Acceleration. Once the file is gets uploaded, the script takes a user input, to check whether the user wants to delete the uploaded file or not.
116

127

138
## Requirements
149

15-
###General Requirements:
10+
### General Requirements:
1611

1712
* You need to install and confgiure AWS CLI on your machine.
1813
* In order to install AWS CLI on your machine you may refer the link below:
@@ -24,32 +19,28 @@ http://docs.aws.amazon.com/cli/latest/userguide/installing.html
2419

2520
Ubuntu / Debian based machine:
2621

27-
apt-get install bc
22+
```bash
23+
apt install bc
24+
```
2825

2926
Amazon Linux/ CentOS/ RHEL/ Fedora based machine:
3027

28+
```bash
3129
yum install bc
30+
```
3231

33-
###Requirements for MAC OSX machines:
34-
35-
In order to improve the accuracy of the results, the script calculates the time taken for the upload in microseconds and then converts them in seconds before using them in the script.However the MAC-OSX systems do not natively support sub-second time interval, as the date program in OSX is different than GNU's coreutils date program.Thus,we need to install coreutils (including gnu-date), on MAC OSX using brew installer.
36-
37-
* Installing Homebrew install(if not installed earlier)
38-
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
39-
40-
* Installing coreutils using brew(if not installed earlier)
41-
brew install coreutils
42-
43-
Once the coreutils is installed they can run the script test-upload-macosx.sh
44-
45-
46-
47-
48-
49-
50-
51-
32+
### Requirements for MAC OSX machines:
5233

34+
In order to improve the accuracy of the results, the script calculates the time taken for the upload in microseconds and then converts them in seconds before using them in the script. However the MAC-OSX systems do not natively support sub-second time interval, as the date program in OSX is different than GNU's coreutils date program. Thus, we need to install coreutils (including gnu-date), on MAC OSX using brew installer.
5335

36+
* Installing Homebrew (if not installed earlier)
37+
```bash
38+
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
39+
```
5440

41+
* Installing coreutils using brew (if not installed earlier)
42+
```bash
43+
brew install coreutils
44+
```
5545

46+
Once the coreutils is installed they can run the script `test-upload.sh`

0 commit comments

Comments
 (0)