streda 21. októbra 2009

Rapidshare downloads with wget

1) we must save cookie to lokal file
wget --save-cookies=/Path/to/cookie/file -q --post-data="login=user&password=password" https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi

2)Save list of rapidshare links to file for example abc

3)Now we can start with downloads
wget -c --load-cookies
/Path/to/cookie/file -i abc

Resize pictures from command line

mogrify -resize 1024x768 *.JPG # This will resize all pictures in directory to size 1024x768