I want to use curl to save multiple files with the same local paths as would be produced by wget -x (ie, cleaned up versions of the full urls). But I can't find the right option in the curl docs. Is this possible?
curl --remote-name
"Only the file part of the remote file is used, the path is cut off."