Montag, 26. November 2012

windows tools

wget 

http://users.ugent.be/~bpuype/wget/

CODE: downloader.ps1

# downloader.ps1 (powershell + wget)
# Author josy1024@gmail.com

# file lister
# only urls without "#" am anfang
#
$urllistfile = Gc "urllist.txt"
$rundir= $(get-location).Path

# location checker (download to)
# move downloads to subfolder? - updater?
# check for versions?

Write-Output "Command dir: " + $rundir

# downloader
ForEach($url In $urllistfile)

Write-Output ("get URL: " + $url)
Invoke-Expression "$rundir\wget.exe --no-check-certificate -t 1 $url"

}


robocopy

(onlinenotiz)

Kommentar veröffentlichen