Uploading files to s3 using s3cmd in parallel

后端 未结 4 1842
-上瘾入骨i
-上瘾入骨i 2021-02-03 10:56

I\'ve got a whole heap of files on a server, and I want to upload these onto S3. The files are stored with a .data extension, but really they\'re just a bunch of jpegs,pngs,zips

4条回答
  •  我在风中等你
    2021-02-03 11:48

    Try s3-cli: Command line utility frontend to node-s3-client. Inspired by s3cmd and attempts to be a drop-in replacement.

    Paraphrasing from https://erikzaadi.com/2015/04/27/s3cmd-is-dead-long-live-s3-cli/ :

    This is a inplace replace to s3cmd, written in node (yaay!), which works flawlessly with the existing s3cmd configuration, which (amongs other awsome stuff), uploads to S3 in parallel, saving LOADS of time.

    -        system "s3cmd sync --delete-removed . s3://yourbucket.com/"
    +        system "s3-cli sync --delete-removed . s3://yourbucket.com/"
    

提交回复
热议问题