nu=`curl http://www.commandlinefu.com/commands/browse |grep -o "Terminal - All commands -.*results$" | grep -oE "[[:digit:],]{4,}" | sed 's/,//'`;
curl http://www.commandlinefu.com/commands/browse/sort-by-votes/plaintext/[0-"$nu":25] | grep -vE "_curl_|\.com by David" > clf-ALL.txt
For more version specific
nu=`curl http://www.commandlinefu.com/commands/browse |grep -o "Terminal - All commands -.*results$" | grep -oE "[[:digit:],]{4,}" | sed 's/,//'`;
curl http://www.commandlinefu.com/commands/browse/sort-by-votes/plaintext/[0-"$nu":25] | grep -vE "_curl_|\.com by David" > clf-ALL_"$nu".txt
Also download dirctly from my dropbox
My drop box invitaion link is http://db.tt/sRdJWvQq . Use it and get free 2.5 GB space.
[1/8239]: http://www.commandlinefu.com/commands/browse/sort-by-votes/plaintext/0 --> <stdout> % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 103 1961 103 1961 0 0 101 0 0:00:19 0:00:19 --:--:-- 2001 [2/8239]: http://www.commandlinefu.com/commands/browse/sort-by-votes/plaintext/25 --> <stdout> 104 2199 104 2199 0 0 2254 0 --:--:-- --:--:-- --:--:-- 22750 [3/8239]: http://www.commandlinefu.com/commands/browse/sort-by-votes/plaintext/50 --> <stdout> 100 2409 100 2409 0 0 1747 0 0:00:01 0:00:01 --:--:-- 6373 [4/8239]: http://www.commandlinefu.com/commands/browse/sort-by-votes/plaintext/75 --> <stdout> 102 2348 102 2348 0 0 1504 0 0:00:01 0:00:01 --:--:-- 4200 [5/8239]: http://www.commandlinefu.com/commands/browse/sort-by-votes/plaintext/100 --> <stdout> 100 2501 100 2501 0 0 1924 0 0:00:01 0:00:01 --:--:-- 8364 [6/8239]: http://www.commandlinefu.com/commands/browse/sort-by-votes/plaintext/125 --> <stdout> 102 2556 102 2556 0 0 1775 0 0:00:01 0:00:01 --:--:-- 5835 [7/8239]: http://www.commandlinefu.com/commands/browse/sort-by-votes/plaintext/150 --> <stdout> 104 2294 104 2294 0 0 1113 0 0:00:02 0:00:02 --:--:-- 2168
Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?
You must be signed in to comment.
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for: