3

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?

1

2 Answers 2

8

wget is the command line utility you want:

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(s) and file(s) - in release_tinyos_2_1_2/


Further Reading:

Home Page:

6
  • Thanks, this look like a nice solution, but before I start the download, can you please tell me where these files will be saved?
    – Dumbo
    Sep 12, 2012 at 12:39
  • 2
    they will be saved in your current directory.
    – Ankit
    Sep 12, 2012 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, 2012 at 12:46
  • OMG I think this command is downloading everything in this subdomain, not only the folder I wanted but everything else!
    – Dumbo
    Sep 12, 2012 at 13:12
  • I mean it dowloaded everything inside /svn/ folder. Is there a fix for this?
    – Dumbo
    Sep 12, 2012 at 13:17
-1

In Ubuntu terminal try this using wget

wget -r -i http://XXXX/XXX/XX

But if you have a specific file type then

wget -r -l1 -A.txt https://xxxx/pub/data/xx/products/xx/2012/

.txt is the file extension

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .