How to download multiple files using a script
9,128
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:
Related videos on Youtube
Author by
Saeid87
Updated on September 18, 2022Comments
-
Saeid87 over 1 year
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?
-
David Foerster over 9 yearsWhy not simply use a SVN client? Or Git since TinyOS moved to Github? Github even lets you download whole branches and tags as zip archive: github.com/tinyos/tinyos-main/archive/release_tinyos_2_1_2.zip
-
-
Saeid87 over 11 yearsThanks, this look like a nice solution, but before I start the download, can you please tell me where these files will be saved?
-
Ankit over 11 yearsthey will be saved in your current directory.
-
Saeid87 over 11 yearsOMG I think this command is downloading everything in this subdomain, not only the folder I wanted but everything else!
-
Saeid87 over 11 yearsI mean it dowloaded everything inside /svn/ folder. Is there a fix for this?
-
blade19899 over 11 years/svn/??? remove /svn/*.* with root nautilus like so 'gksudo nautilus' then got to '/svn/'? then remove all downloaded content and then again run this in terminal 'cd' then 'mkdir tinyos' and then cd 'tinyos' and the the command 'wget -r tinyos-main.googlecode.com/svn/tags/release_tinyos_2_1_2'