You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*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.*
4
4
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.
11
6
12
7
13
8
## Requirements
14
9
15
-
###General Requirements:
10
+
###General Requirements:
16
11
17
12
* You need to install and confgiure AWS CLI on your machine.
18
13
* In order to install AWS CLI on your machine you may refer the link below:
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)
* 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:
52
33
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.
0 commit comments