Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

133
Views
Copiando archivos locales con curl

¿Hay alguna forma de copiar archivos locales con curl? Necesito que funcione como una alternativa para el comando cp.

Esto es un poco extraño, pero estoy trabajando en un entorno donde cp no está disponible.

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Tu puedes decir:

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

Esto copiaría /path/to/source/file to /path/to/destination .

over 4 years ago · Santiago Trujillo Report

0

puedes usar rsync

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

También puedes usar alquitrán

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

si su alquitrán soporta -C

 cd /path/to/src/dir; tar -cpf - sourcefile | tar -xpf - -C /path/to/dest/dir
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!