0
SSH有a useful opt-in feature,使您可以重用調用之間的連接:您能否在`aws s3` CLI的調用之間保持連接打開?
ssh host 'echo example' # this opens the connection to host, and leaves it open
ssh host 'echo example2' # this reuses the connection from the previous command
是否有AWS的S3命令行界面相似的地方?例如:
aws s3 mv s3://bucketname/example1 s3://bucketname/example2
aws s3 mv s3://bucketname/example3 s3://bucketname/example4
這將是巨大的,如果第一個命令將打開一個連接,並使其保持開放第二利用它的優勢。當運行大量小命令時,這將極大地加速AWS S3 CLI。
正確。它是Python SDK。不過,您可以使用任何SDK。 –