Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

328
Vistas
Glob pattern for everything including hidden files

I try to get a glob pattern which includes every file in every subdirectory, but I can't figure out how to include hidden files.

Example, all those should match:

.git
.github/workflow.yml
index.js
src/index.js
src/components/index.js

This works for all files with name and extension, but leaves out hidden files:

**/**

More specific background: I want so make an archive with all files except node_modules (and potentially some others), using the archiver library.

archive.directory("???", {
    ignore: ["node_modules/", ...some other files],
});
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda