Created
February 5, 2019 16:50
-
-
Save jlewin/143fcebddcc9777fd0b39454194e2850 to your computer and use it in GitHub Desktop.
Extract SVG sample files
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
| 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