SORU
3 Temmuz 2009, Cuma


Nasıl wget ile konumunu belirtmek için?

Dosyaları /tmp indirilmesini istiyorum/cron_test/. Wget benim kodudur

wget --random-wait -r -p -nd -e robots=off -A".pdf" -U mozilla http://math.stanford.edu/undergrad/

Yani orada bazı parametre dizini belirtin.

CEVAP
3 Temmuz 2009, Cuma


Bu kılavuz sayfası:

-P prefix
--directory-prefix=prefix
           Set directory prefix to prefix.  The directory prefix is the
           directory where all other files and sub-directories will be
           saved to, i.e. the top of the retrieval tree.  The default
           is . (the current directory).

Emret Komutanım -P /tmp/cron_test/ eklemek gerekir.

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Capcom Unity

    Capcom Unity

    5 NİSAN 2010
  • Kupa World

    Kupa World

    1 EYLÜL 2011
  • Rachel Talbott

    Rachel Talbo

    26 Ocak 2011