Created
April 19, 2017 14:18
-
-
Save mombrea/f4925cce21671fd49e7d1ada7a3f6c7e to your computer and use it in GitHub Desktop.
Powershell script to wget images from CSV
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
$content = Get-Content 'C:\img_urls.csv' | |
$outpath = 'C:\OutFolder' | |
foreach ($line in $content) | |
{ | |
wget $line -outfile $outpath$line.Substring($line.LastIndexOf("/") + 1) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment