Use wget to Recursively Download all Files of a Type, like jpg, mp3, pdf or others

If you need to download from a site all files of an specific type, you can use wget to do it.

Let's say you want to download all images files with jpg extension.

wget --level=1 -r -A .jpg http://site.with.images/url/

Now if you need to download all mp3 music files, just change the above command to this:

wget --level=1 -r -A .mp3 http://site.with.music/url/

The same can be applied to any other type of file. Movies, music, images, and others.

Be respectful with owner's rights and with the bandwidth of the site and –level=NUMBER  maximum recursion depth (inf or 0 for infinite).

 

Credits

Changing the Product Key in Server 2012 using PowerShell

I have come across a useful set of cmd’s for when you need to change the Product Key in server 2012. When I went to active my new file server,  I ran into an issue when trying to activate with the Product  KMS key.

Server 2012’s system properties do not allow you to change the Product key.

To change this you need to open power shell in privileged mode and enter the following cmd’s.

slmgr -upk (this removes the current Product Key)

slmgr -ipk XXXX-XXXX-XXXX-XXXX (this installs the new Product Key)

Please see Microsoft’s Article ID: 2750773:

http://support.microsoft.com/kb/2750773

Credits