Created
July 16, 2013 08:38
-
-
Save DmitrySandalov/6006944 to your computer and use it in GitHub Desktop.
Download all files from website using wget (+encoding)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
wget -m -p -E -k -K -np --restrict-file-names=nocontrol http://site/path/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks! This is the command I was looking for for downloading websites that included polish characters in URLs. I was getting
Illegal byte sequence
andCannot write to
errors before. Using--restrict-file-names=nocontrol
helped :).