hsncorrosion Posted August 24, 2007 Share Posted August 24, 2007 I'm using wget to download video tutorials from youtube, I want to have wget rename the files to something like file1 file2 file3 etc. And add .flv file extension to the end of each download, Can I do this? Quote Link to comment Share on other sites More sharing options...
Sparda Posted August 24, 2007 Share Posted August 24, 2007 use the -O option (and learn the man command) Quote Link to comment Share on other sites More sharing options...
hsncorrosion Posted August 24, 2007 Author Share Posted August 24, 2007 I search google for "wget -O option" and "wget man command" and did not find what I'm looking for..... Can you point me in the right direction (I'm not asking anyone to write it from me, I'm going to learn it this time) Quote Link to comment Share on other sites More sharing options...
SomeoneE1se Posted August 24, 2007 Share Posted August 24, 2007 I search google for "wget -O option" and "wget man command" and did not find what I'm looking for..... Can you point me in the right direction (I'm not asking anyone to write it from me, I'm going to learn it this time) first is '--help' as in 'command --help' this will help you out A LOT if you're feeling lazy you can use -h or -? they will almost always work, and then there's 'info command' and 'man command' is in this case you type wget --help and it tells you EVERYTHING about the command and that 'wget www.youtube.com/video -O filename.flv' will do what you want Quote Link to comment Share on other sites More sharing options...
digip Posted August 25, 2007 Share Posted August 25, 2007 I search google for "wget -O option" and "wget man command" and did not find what I'm looking for..... Can you point me in the right direction (I'm not asking anyone to write it from me, I'm going to learn it this time) man command is likeon unix/linux, where at a command prompt you type "man wget" to pull up the "manual" for the program. Not "wget man". That would try to pull a file called man. Quote Link to comment Share on other sites More sharing options...
Deveant Posted August 25, 2007 Share Posted August 25, 2007 use the -O option (and learn the man command) man bash, it still makes me giggle. Quote Link to comment Share on other sites More sharing options...
operat0r_001 Posted September 4, 2007 Share Posted September 4, 2007 you may want to check out cURL, libcURL and httrack http://curl.haxx.se/docs/httpscripting.html http://www.httrack.com/html/fcguide.html Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.