Skip to content

Akshayrrao/Sync-large-file-or-folder-to-AWS-S3-Bucket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

AWS S3

Upload or Sync large file or folder to AWS S3 Bucket

Installation

Install AWS CLI AWS CLI installation instructions .

Ubuntu

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

Configure AWS CLI for S3

How to get AWS Account and Access Keys ? AWS Account and Access Keys .

Setup Access key, Secret key & Region.

aws configure

verify setting.

aws configure list

List AWS S3 Bucket

aws s3 ls

Command Upload or Sync large file or folder to AWS S3 Bucket

Sync

aws s3 sync [Folder/file Path] s3://bucket-name/folder-name

Example

aws s3 sync /home/akshayrrao/Desktop/Backup s3://test-bucket/Backup

Supported Commands in AWS S3

ls                                       | website                                 
cp                                       | mv                                      
rm                                       | sync                                    
mb                                       | rb                                      
presign

For more refer S3 .

License

MIT