Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have to download multiple files from here in googlecode. Currently I open each folder and download each file by saving it using my browser. Is there a way to automatically download all folder/files?

share|improve this question

1 Answer 1

up vote 7 down vote accepted

use this

wget -r http://tinyos-main.googlecode.com/svn/tags/release_tinyos_2_1_2/

It downloads everything in
http://tinyos-main.googlecode.com/svn/tags/release_tinyos_2_1_2/

and all subdirectories (folder and files) in release_tinyos_2_1_2/

share|improve this answer
    
Thanks, this look like a nice solution, but before I start the download, can you please tell me where these files will be saved? –  Saeid87 Sep 12 '12 at 12:39
2  
they will be saved in your current directory. –  Ankit Sep 12 '12 at 12:45
2  
in the directory you are in. Usually in your home directory. try this 'mkdir tinyos" to create a folder called 'tinyos' and the 'cd tinyos' cd go in the folder then run the command it will download everything in that folder. –  blade19899 Sep 12 '12 at 12:46
    
OMG I think this command is downloading everything in this subdomain, not only the folder I wanted but everything else! –  Saeid87 Sep 12 '12 at 13:12
    
I mean it dowloaded everything inside /svn/ folder. Is there a fix for this? –  Saeid87 Sep 12 '12 at 13:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.