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

141
Vistas
Copying local files with curl

Is there a way to copy local files with curl, I need it to work as an alternative for cp command.

This is a bit strange, but I'm working on an environment where cp is not available.

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

You could say:

curl -o /path/to/destination file:///path/to/source/file 

This would copy /path/to/source/file to /path/to/destination.

over 4 years ago · Santiago Trujillo Denunciar

0

you can use rsync

rsync -avz /path/to/src/file /path/to/dst/dir

You can also use tar

cd /path/to/src/dir; tar -cpf - sourcefile | (cd /path/to/dest/dir; tar -xpf -)

if your tar support -C

cd /path/to/src/dir; tar -cpf - sourcefile | tar -xpf - -C /path/to/dest/dir
over 4 years ago · Santiago Trujillo Denunciar
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