Skip to content

Instantly share code, notes, and snippets.

@jlewin
Created February 5, 2019 16:50
Show Gist options
  • Save jlewin/143fcebddcc9777fd0b39454194e2850 to your computer and use it in GitHub Desktop.
Save jlewin/143fcebddcc9777fd0b39454194e2850 to your computer and use it in GitHub Desktop.
Extract SVG sample files
docker run -it ubuntu
apt install wget
apt install zip
# perform the download - stackoverflow:https://stackoverflow.com/questions/23446635/
wget -r -np -nH --cut-dirs=3 -R index.html https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/
# zip the content
cd /samples/svg-files
zip -r svg.zip .
# copy the zip file from the guest to the host
# ... in a new Windows command prompt
docker cp 95079833af28:/samples/svg-files/svg.zip svg.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment