خوب شما فقط یک پوشه رو میخوای ؟
کد:
wget -cr -R *html*,*.png http://samfonibox5.com/oon_pooshe/
ببینید این ساختار اون سایت رو براتون پیاده میکنه . یعنی اگر پوشه توی زیر شاخه 1 باشه زمان بارگیری هم اون زیر شاخه رو میسازه
گزینه ای هم داره برای نساختن زیر شاخه . به راهنمای wget :
کد:
http://www.gnu.org/software/wget/manual/wget.html
‘-nd’
‘--no-directories’Do not create a hierarchy of directories when retrieving recursively. With this option turned on, all files will get saved to the current directory, without clobbering (if a name shows up more than once, the filenames will get extensions ‘.n’).
‘-nH’‘
--no-host-directories’
Disable generation of host-prefixed directories. By default, invoking Wget with ‘-r
http://fly.srk.fer.hr/’ will create a structure of directories beginning with fly.srk.fer.hr/. This option disables such behavior.