<p>I have a web directory where I store some config files. I'd like to use wget to pull those files down and maintain their current structure. For instance, the remote directory looks like:</p>

<pre><code>http://mysite.com/configs/.vim/
</code></pre>

<p>.vim holds multiple files and directories. I want to replicate that on the client using wget. Can't seem to find the right combo of wget flags to get this done. Any ideas?</p>

```
```
wget -r http://mysite.com/configs/.vim/
```
```
works for me.
Perhaps you have a .wgetrc which is interfering with it?