Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

258
Visualizações
AWS S3 sync how to exclude *.js files but include *.min.js?

I have a javascript folder called js/custom which has both *.js files and the minified version of the file with an extension called *.min.js, I want to make sure I only upload the minified version of the js file, how can I achieve this?

aws s3 sync /var/www/html/js/custom/* s3://inksedge/js/custom/*
--exclude 'js/custom/*.js' 

above will exclude the minified version as well, how do i get the result i want?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Try using the --include argument to include the min files

--include

aws s3 sync /var/www/html/js/custom/* s3://inksedge/js/custom/*
--exclude 'js/custom/*.js' --include 'js/custom/*.min.js'
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda