Hi Cherish,

You can use the -c option (or --config).
Ex.: ... -c my_s3config ...

As for most of your other questions, you can have a look at the help of
s3cmd that list all the options and command that are available:
./s3cmd --help

Regards,

--
Florent <http://www.seagate.com>

On Thu, Nov 5, 2015 at 6:49 PM, Cherish Drain <cherishdrain...@gmail.com>
wrote:

> Hi All,
>
> I have different profiles that have different aws credentials. How can I
> set the profile when calling s3cmd sync?
>
> for example aws allows me to do :
>
> aws sync ./test s3://test --profile stage
>
> The aws credential file has different sets of credentials for each profile.
>
> Best,
> Cherish
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> S3tools-general mailing list
> S3tools-general@lists.sourceforge.net
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_s3tools-2Dgeneral&d=CwICAg&c=IGDlg0lD0b-nebmJJ0Kp8A&r=GEhQqSrCDlzPsOu9ww_S8dL0RpfPwWzg7DpciZD7d7Y&m=eDVcIjcMs89B_VmVfkXDuc3OSs0NCYsy_IEkMDr-e3Y&s=R2KzJJ2pUrNMe0Kf7Ml1ooUoIW_STBffzoEAHk1MfeQ&e=
>
>
------------------------------------------------------------------------------
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to