%20de%20Curl%3F.png)
¿Qué significa el guión independiente (entre -C
& -O
) en este comando?
curl -C - -O http://www.intersil.com/content/dam/Intersil/documents/fn67/fn6742.pdf
FWIW- Estoy siguiendo un tutorialaquí.
Respuesta1
-C -
determina automáticamente cómo reanudar la transferencia, basándose en los archivos de entrada y salida.
Deman curl
(tenga en cuenta el segundo párrafo):
-C/--continue-at <offset>
Continue/Resume a previous file transfer at the given offset.
The given offset is the exact number of bytes that will be
skipped, counting from the beginning of the source file before
it is transferred to the destination. If used with uploads,
the FTP server command SIZE will not be used by curl.
Use "-C -" to tell curl to automatically find out where/how to
resume the transfer. It then uses the given output/input files
to figure that out.
If this option is used several times, the last one will be
used.
Respuesta2
Simplemente reanudará la descarga desde la última posición, desdehombre rizo:
-C/--continue-at <offset>
Continue/Resume a previous file transfer at the given offset.
The given offset is the exact number of bytes that will be
skipped, counting from the beginning of the source file before
it is transferred to the destination. If used with uploads, the
FTP server command SIZE will not be used by curl.
Use "-C -" to tell curl to automatically find out where/how to
resume the transfer. It then uses the given output/input files
to figure that out.