How to Getting-Started with s3cmd on Linux
The Guide shows you How to Getting-Started to Sync Local Files/Directory with a Remote Amazon AWS S3 Bucket on Linux Systems.
Finally, to the article Bottom you Find Link to s3cmd Installation Guides for Mains Linux Distros.
The s3cmd S3 Command Line Tool Permit to Easy Uploading and Synchronizing a Bunch of Files from a Local Directory to the Amazon S3 Bucket.
-
How to Install s3cmd on Linux Distros
S3cmd Installation Easy Guides -
Open a Terminal Window
(Press “Enter” to Execute Commands) -
Make a Symlink.
sudo ln -s /opt/s3cmd/s3cmd /usr/bin/s3cmd
Or Add s3cmd to the PATH:
-
Edit .bashrc Conf File:
nano ~/.bashrc
-
Append:
export PATH=/opt/s3cmd/s3cmd:$PATH
Or another s3cmd location…
Ctrl+x to Save & Exit. -
Then Load New PATH:
bash
-
-
To Test Only Sync Local Directory with S3 Bucket.
s3cmd --dry-run sync </path/2/myLocalS3Dir>/s3://s3Bucket
-
To Sync Local Directory with S3 Bucket.
s3cmd sync </path/2/myLocalS3Dir>/s3://s3Bucket
How to Install Evernote on Linux Distros