Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2867
  • Last Modified:

wget to stdout

This should be a cinch but i'm @#$%@#ed if i can see the option - how do you tell wget *not* to create a file, but just dump to stdout?
0
CEHJ
Asked:
CEHJ
1 Solution
 
ramazanyichCommented:
try
wget -O - ...

excerpt from man wget:
       -O file
       --output-document=file
           The documents will not be written to the appropriate
           files, but all will be concatenated together and written to file.  If file already exists, it will be over-
           written.  If the file is -, the documents will be
           written to standard output.  Including this option
           automatically sets the number of tries to 1.
0
 
CEHJAuthor Commented:
Ah. I'm actually using the Windoze port at the moment, and this is all i get in --help:

  -O   --output-document=FILE   write documents to FILE.

but the option

-O -

works nonetheless. Thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now