Skip to main content

Posts

Showing posts with the label download the whole website

Download the whole website in Ubuntu

Ubuntu မွာ website တခုလံုးကုိေဒါင္းဖုိ့အတြက္ wget ကုိသံုးျပီးေဒါင္းရင္ အရမ္းလြယ္ပါတယ္၊ ေအာက္က ကြန္မန္းကုိ Terminal ထဲမွာ ထည့္ျပီးစမ္းၾကည့္ပါ။ wget -mirror --convert-links -P ~/download-site website-url အဲဒါကုိ Terminal ထဲကေနတဆင့္ shortcut command လုပ္ျပီးသံုးႏုိင္ပါတယ္။ cd ~ gedit .bashrc .bashrc ပြင့္လာရင္ ေအာက္ဖက္ လြတ္ရာေနရာမွာေအာက္က ကြန္မန္းထည့္လုိက္ပါ။ alias downsite="wget -mirror --convert-links -P ~/download-site" ~ = home အခုေဒါင္းလုပ္ဆြဲမယ္ဆုိရင္ terminal ထဲကေန "downsite www.google.com" ဘာညာရိုက္ထည့္ရင္ home ေအာက္မွာ download-site ထဲမွာ website နာမည္နဲ့ဖိုဒါတခုေရာက္ေနပါလိမ့္မယ္ အဲထဲက indexကုိဖြင့္ပီး ဖတ္လုိ့ရပါျပီ။ Thank you , dv 3500ea & shellholic :)