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

  • DavidParody

    DavidParody

    17 EKİM 2009
  • Doug Bernards

    Doug Bernard

    7 Kasım 2007
  • Gee Cee

    Gee Cee

    1 AĞUSTOS 2009