Created
April 20, 2018 14:35
-
-
Save davidhavard/10a246aa90f808d5f2fc87134a18a280 to your computer and use it in GitHub Desktop.
Recursively extract image urls from html files, sort them and remove duplicates
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
| grep -roP '<img.+src="\K[^"]+' * | sed 's/.*://g' | sort | uniq > images.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment