что делает автономный дефис Завихрения (-) средний?

Не проверяйте, основана ли Ваша платформа на Fedora. Проверьте, нужно ли этому это определенное обходное решение. Выполните эту команду: ls /usr/include/openssl/*-* и посмотрите, имеете ли Вы opensslconf-x86_64.h файл или opensslconf-i386.h файл.

3
07.06.2012, 19:38
2 ответа

-C - автоматически определяет, как возобновить передачу, основанную на входных и выходных файлах.

От man curl (отметьте второй абзац):

   -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.
3
27.01.2020, 21:14
  • 1
    спасибо. я, должно быть, забыл это в странице справочника... –  Meltemi 07.06.2012, 21:12

Это просто возобновит загрузку с последней позиции с завихрения человека:

   -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.
3
27.01.2020, 21:14

Теги

Похожие вопросы