I am trying to mirror most of a ftp sever using wget.
This particular sever keeps old copies of the data files in a folder called 'backup' inside every subfolder. e.g. '/MaffiaOffShore/backup' '/VeryVeryDodgy/backup', which I don't want but my attempts at using –reject 'backup' and using –exclude-directories 'backup' and various other combinations, all have the same result, the whole sever is mirrored, including the backup folder.
Is this a bug or am I missing something?
Best Answer
The exclude directories option is:
not --exclude-directory as you have included in your question
from the wget man page