Reputation: 85
i need to download only the sub directory named pyVim with all its content ,but i
am getting the parents as well , even that i tried the following options:
wget -r --no-parent http://server/pub/scripts/pyVim
getting : server directory with its subdirectories
tried:
wget -r -X pub,scripts --no-parent http://server/pub/scripts/pyVim
tried few more options ,none of those works
i just need to download pyVim directory with its content to the current directory.
Upvotes: 1
Views: 2768
Reputation: 5180
You said pyVim
is a directory, but then the URL you passed to wget
indicates that pyVim
is a file in the directory scripts
.
To explicitly tell wget
that pvVim
is a directory pass a trailing /
. So your final command is:
wget -r --no-parent http://server/pub/scripts/pyVim/
Upvotes: 2