Exclude folders for s3cmd sync

前端 未结 2 1808
感动是毒
感动是毒 2021-01-12 06:40

I am using s3cmd and i would like to know how to exclude all folders within a bucket and just sync the bucket root.

for example

bucket
folder/two/
fo         


        
2条回答
  •  醉梦人生
    2021-01-12 07:05

    As mentioned by @physiocoder excluding a folder is done the following way:

    s3cmd --exclude 'foldername/*'

    So that is different from the question but I landed on this page due to its title.

提交回复
热议问题