am trying to download all the rpm files at the page, http://mirror.centos.org/centos-5/5/os/i386/CentOS/ via using wget, in the following way,
wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/$file, also i tried this way, wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/, none of it worked,
what is the proper way to download all the files from a page via wget?
any help appreciated.
thanks.