Skip to content

Instantly share code, notes, and snippets.

@demibenari
Last active January 2, 2016 20:49
Show Gist options
  • Save demibenari/8359358 to your computer and use it in GitHub Desktop.
Save demibenari/8359358 to your computer and use it in GitHub Desktop.
This script is a Batchfile in Windows OS that uses the Wget 32 bit application to download the content of a File server that is located in the #Wanted Source URL# URL. The wget for Windows can be found at: "http://users.ugent.be/~bpuype/wget/"
ECHO off
REM Change the #Wanted Source URL# with some thing like http://archive.cloudera.com/search/redhat/6/ for example
ECHO Downloading #Wanted Source URL#
ECHO ==========================================================
wget --execute="robots = off" --mirror --convert-links --no-parent --wait=5 -R index.html* #Wanted Source URL#
ECHO Finished Downloading!
ECHO ==========================================================
ECHO on
PAUSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment