Skip to content

Instantly share code, notes, and snippets.

@yaph
Last active November 1, 2022 11:20
Show Gist options
  • Save yaph/5897372 to your computer and use it in GitHub Desktop.
Save yaph/5897372 to your computer and use it in GitHub Desktop.
Extract all URLs to jpg files from text file with grep and download images with wget
grep -shoP 'https?.*?\.jpg' rss.xml | xargs wget
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment