Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #4169

Re: How can I get a plain text directory with wget?

From Allodoxaphobia <knock_yourself_out@example.net>
Newsgroups comp.os.linux.misc
Subject Re: How can I get a plain text directory with wget?
Date 2012-02-06 20:04 +0000
Message-ID <slrnjj0chc.1nt6.knock_yourself_out@shell.config.com> (permalink)
References <jgngpj$ie5$1@dont-email.me>

Show all headers | View raw


On Sun, 05 Feb 2012 19:18:08 -0800, Todd wrote:
> Hi All,
>
> Not having much luck with the man page.
>
> I use the following piece of code in a bash script to
> give me a directory listing:
>
>     wget --quiet http://$FtpSite$FtpDir -O - > $Tmp 2>&1
>
> The value pumped into $Tmp in a bunch of HTML code.
> It is annoying to have to sift through it.
>
> Is there a way to get the directory listing in plain text
> without all the HTML garble-de-gook?  I would like some
> thing like I would see with "ls".

 lynx -dump -nolist "http://$FtpSite$FtpDir" > dir.list.ing

HTH
Jonesy

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How can I get a plain text directory with wget? Todd <Todd@invalid.invalid> - 2012-02-05 19:18 -0800
  Re: How can I get a plain text directory with wget? Sam <sam@email-scan.com> - 2012-02-05 21:31 -0600
    Re: How can I get a plain text directory with wget? Todd <Todd@invalid.invalid> - 2012-02-05 19:44 -0800
      Re: How can I get a plain text directory with wget? Sam <sam@email-scan.com> - 2012-02-06 05:51 -0600
      Re: How can I get a plain text directory with wget? Chick Tower <c.tower@deadspam.com> - 2012-02-06 19:30 +0100
        Re: How can I get a plain text directory with wget? root <NoEMail@home.org> - 2012-02-06 18:43 +0000
          Re: How can I get a plain text directory with wget? "Chris F.A. Johnson" <cfajohnson@gmail.com> - 2012-02-07 16:37 -0500
  Re: How can I get a plain text directory with wget? Michael Black <et472@ncf.ca> - 2012-02-05 22:27 -0500
    Re: How can I get a plain text directory with wget? Todd <Todd@invalid.invalid> - 2012-02-05 19:41 -0800
      Re: How can I get a plain text directory with wget? Dan Espen <despen@verizon.net> - 2012-02-06 08:33 -0500
  Re: How can I get a plain text directory with wget? Bit Twister <BitTwister@mouse-potato.com> - 2012-02-06 04:10 +0000
    Re: How can I get a plain text directory with wget? Todd <Todd@invalid.invalid> - 2012-02-05 23:03 -0800
  Re: How can I get a plain text directory with wget? Allodoxaphobia <knock_yourself_out@example.net> - 2012-02-06 20:04 +0000
    Re: How can I get a plain text directory with wget? Michael Black <et472@ncf.ca> - 2012-02-06 17:39 -0500

csiph-web