aws s3
快速上传的方法: 在多个窗口进行上传,每个窗口上传一百。同时进行。
Dir["*.jpg"].each do |i|<br />
#command = "aws s3 cp --acl public-read-write nft/parachain/#{i} s3://远程目录/#{i}"<br />
#command = "aws s3 cp --acl public-read-write tmp/images_jpg_copy/#{i} s3://远程目录/nft/#{i}"<br />
command = "aws s3 cp --acl public-read-write #{i} s3://远程目录/#{i}"<br />
puts `#{command}`<br />
end<br />
puts "done"