I couldn't find this on the site and it's a useful switch. Great for large files. Show Sample Output
1.- Enter into the playlist path. 2.- Run the command. 3.- Playlists created!
in place of "output-filename.mp4" put the name you want the file to be named with.
in place of "youtube-video-link" put the link of the Video page eg: http://www.youtube.com/watch?v=AclA-7YntvE
in place of "format-number" put the number of the file format you would like
How to get the "format-number"
to get format number type in below command before running this command
youtube-dl -F "youtube-video-link"
and it will list all the available formats with the format number, like to download in 360p mp4 use the number "18"
To automatically let it fetch the best quality available just remove the -f "format-number" and you are good to go.
Show Sample Output
Optionally, pipe the output into http://sed.sourceforge.net/grabbag/scripts/html2iso.sed Or: wget -qO - http://www.asciiartfarts.com/random.cgi | sed -n '//,//p' | sed -n '/ Show Sample Output
can be used in script like : echo $(wget -qO- http://utils.admin-linux.fr/ip.php) Show Sample Output
Improved google text-to-speech function. Allows to specify language, plays sound in terminal. Automatically removes downloaded file after successfully processing.
Usage:
say LANGUAGE TEXT
Examples:
say en "This is a test."
say pl "To jest test"
Downloads Bluetack's level 1 IP blocklist in .p2p format, suitable for various Bittorrent clients.
(In French) Connection aux hotspots FreeWifi, et maintien de la connection active
This was gotten from http://www.veen.com/jeff/archives/000573.html. The line will grab all the mp3 files on the urls listed in text file sourceurls.txt (one url per line) . A much more complete breakdown of the line can be found at the web site mentioned above.
The only zipped version of an album available for download is the lossy mp3 version. To download lossless files, because of their size, you must download them individually. This command scrapes the page for all the FLAC (or also SHN) files.
Replace *** with the appropiate values
Tested with 9.10 release. Choose whatever torrent client you prefer.
kaffeine could be replaced by any player able to read mms stream
retrieves the html from a random command line fu page, then finds commands on the page and prints them alternatively, pipe to bash (add "| bash" to the end) to execute the command (very risky) edit: had to adjust to properly display the portion that replaces HTML characters (e.g. " -> ")
the google-api gives you only one translation which is sometimes insufficent. this function gives you all translations, so you can choose which one fits best.
Download Websites to 5 Level and browse offline! -k -> convert-links (to browse offline) -r -> recursive download -l 5 -> level 5 example. http://gentoo-install.com :-)
I have a server with a php requiring basic authentication, like this:
header('WWW-Authenticate: Basic realm="do auth"');
header('HTTP/1.0 401 Unauthorized');
...?>
And the basic authentication in wget do not worked:
wget --auth-no-challenge --http-user="username" --http-password="password" -O- "http://url"
wget --keep-session-cookies --save-cookies=cookies.txt --load-cookies=cokies.txt --http-user="username" --http-password="password" -O- "http://url"
I always received the 401 Authorization failed.
The saved cookie is always empty.
With my way, I received the header from the server and save the cookie, then resend the session cookie with authentication data
Show Sample Output
To learn more about Google Ngram Viewer: http://ngrams.googlelabs.com/info
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: