$ clfavs(){ URL="http://www.commandlinefu.com";wget -O - --save-cookies c --post-data "username=$1&password=$2&submit=Let+me+in" $URL/users/signin;for i in `seq 0 25 $3`;do wget -O - --load-cookies c $URL/commands/favourites/plaintext/$i >>$4;done;rm -f c;}
Usage: clfavs username password num_favourite_commands file_in_which_to_backup
by David Winterbottom (codeinthehole.com)
0sem comentários ainda