Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Code Snippet from aperturescience.su
- # Parameters
- [Parameter(Position=1, Mandatory=$false, HelpMessage="Page Listing")]$filelist="filelist.txt",
- [Parameter(Position=2, Mandatory=$false, HelpMessage="base url")]$baseurl = "http://localhost/",
- # Body
- $pages = Get-Content $filelist
- foreach ($page in $pages)
- {
- $url = $baseurl + $page
- wget $url -O output.file
- }
- # Code Snippet from aperturescience.su
Advertisement
Add Comment
Please, Sign In to add comment