Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-08-2016, 12:25 PM   #1
Registered: Dec 2009
Posts: 123

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


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

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

But I would do something like
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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:31 PM.

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