LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-08-2016, 12:25 PM   #1
glennbtn
Member
 
Registered: Dec 2009
Posts: 102

Rep: Reputation: 18
wget multiple files with same extension


Hi All

I need to be able to wget all the files with the .sh extension from the same folder on a webserver.

I would like to just download them to a folder without it creating subfolders or anything else, just all .sh files in the directory I am in

Can anyone advise how I would go about this

Thanks

Glenn
 
Old 09-08-2016, 01:10 PM   #2
dab1414
Member
 
Registered: May 2011
Location: OK, USA
Distribution: Slackware 14.1_64
Posts: 70

Rep: Reputation: 50
Did you
Code:
man wget
That and doing a search on internet like this, would give answer.

But I would do something like
Code:
wget -A .sh http://site/with/something/
and of course to pull from subfolders there is recursive, "-r". And much more you can do if you rtfm
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP extension and multiple source files results in multiple definition of `XXX' error atelszewski.versades Programming 1 02-16-2016 09:54 AM
[SOLVED] wget: download multiple files Steve W Linux - Software 6 05-25-2009 12:29 PM
How to rename multiple files with the same extension rogueeve Linux - Newbie 3 05-18-2007 02:54 AM
Changing extension of multiple files harisund Programming 17 06-01-2006 11:59 AM
changing extension of multiple files shaggystyle Linux - General 5 01-29-2004 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration