1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 12:02:08 +02:00
tldr/pages.hi/common/wget.md
K.B.Dharun Krishna 5257568887
pages.*: add standard translation (#9672)
* pages./: Automatically add alias pages

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* pages./: Automatically add links

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* Fix false positives from script

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2022-12-29 08:41:44 +05:30

2.5 KiB

wget

वेब से फ़ाइलें डाउनलोड करें। HTTP, HTTPS और FTP का समर्थन करता है। अधिक जानकारी: https://www.gnu.org/software/wget

  • किसी फ़ाइल में URL की अंतर्वस्तु डाउनलोड करें (इस मामले में "foo" नाम दिया गया है):

wget {{https://example.com/foo}}

  • किसी फ़ाइल में URL की अंतर्वस्तु डाउनलोड करें (इस मामले में "bar" नाम दिया गया है):

wget --output-document {{bar}} {{https://example.com/foo}}

  • अनुरोधों के बीच 3-सेकंड अंतराल के साथ एक एकल वेब पेज और उसके सभी संसाधन डाउनलोड करें (स्क्रिप्ट्स, स्टाइलशीट, चित्र, आदि।):

wget --page-requisites --convert-links --wait=3 {{https://example.com/somepage.html}}

  • एक निर्देशिका और उसकी उप-निर्देशिकाओं में सभी सूचीबद्ध फ़ाइलें डाउनलोड करें (अंतर्निहित पृष्ठ तत्व डाउनलोड नहीं करता):

wget --mirror --no-parent {{https://example.com/somepath/}}

  • डाउनलोड की गति और कनेक्शन के पुन: प्रयास की संख्या सीमित करें:

wget --limit-rate={{300k}} --tries={{100}} {{https://example.com/somepath/}}

  • मूल प्रमाणीकरण का उपयोग करके किसी HTTP सर्वर से फ़ाइल डाउनलोड करें (FTP के लिए भी काम करता है):

wget --user={{उपयोगकर्ता_नाम}} --password={{पासवर्ड}} {{https://example.com}}

  • अधूरा डाउनलोड जारी रखें:

wget --continue {{https://example.com}}

  • टेक्स्ट फ़ाइल में संग्रहीत सभी URL को एक विशिष्ट निर्देशिका में डाउनलोड करें:

wget --directory-prefix {{निर्देशिका/का/पथ}} --input-file {{URLs.txt}}