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?
2 Answers
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:
-
Thanks, this look like a nice solution, but before I start the download, can you please tell me where these files will be saved?– DumboSep 12, 2012 at 12:39
-
2
-
2in 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. 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!– DumboSep 12, 2012 at 13:12
-
I mean it dowloaded everything inside /svn/ folder. Is there a fix for this?– DumboSep 12, 2012 at 13:17
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