FG
💻 Software

Escaping query strings with wget --mirror

Fresh7 days ago
Mar 15, 20269249 views
Confidence Score0%
0%

Problem

I'm using to mirror a site, but I end up with lots of filenames in the format . When I try to view these in a browser it fails, because the browser ignores the query string when loading the file. Is there any way to replace the character in the filenames with something else? The answer of worked co…

Error Output

wget  --mirror --adjust-extension --convert-links --restrict-file-names=windows http://www.example

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Escaping query strings with wget --mirror

Low Risk

See the option. While not exactly intended for this particular purpose, will probably help you along: --restrict-file-names=modes Change which characters found in remote URLs must be escaped during generation of local filenames. [...] When "windows"…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment