Skip to content
This repository was archived by the owner on Oct 7, 2018. It is now read-only.

Fix wget option#3

Open
nilbus wants to merge 1 commit into
xlucas:masterfrom
nilbus:patch-1
Open

Fix wget option#3
nilbus wants to merge 1 commit into
xlucas:masterfrom
nilbus:patch-1

Conversation

@nilbus
Copy link
Copy Markdown

@nilbus nilbus commented Jul 17, 2017

wget -o <file> outputs download progress.

$ cat /usr/local/bin/ssl-inspector
--2017-07-17 12:09:30--  https://raw.githubusercontent.com/xlucas/ssl-inspector/master/bin/ssl-inspector.rb
Resolving raw.githubusercontent.com... 151.101.40.133, 151.101.0.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com|151.101.40.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60513 (59K) [text/plain]
Saving to: ‘ssl-inspector.rb’

     0K .......... .......... .......... .......... .......... 84%  292K 0s
    50K .........                                             100%  222M=0.2s

2017-07-17 12:09:31 (345 KB/s) - ‘ssl-inspector.rb’ saved [60513/60513]

wget -O <file> specifies the location to save the downloaded file, as expected.

`wget -o <file>` outputs download progress.

```
$ cat /usr/local/bin/ssl-inspector
--2017-07-17 12:09:30--  https://raw.githubusercontent.com/xlucas/ssl-inspector/master/bin/ssl-inspector.rb
Resolving raw.githubusercontent.com... 151.101.40.133, 151.101.0.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com|151.101.40.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60513 (59K) [text/plain]
Saving to: ‘ssl-inspector.rb’

     0K .......... .......... .......... .......... .......... 84%  292K 0s
    50K .........                                             100%  222M=0.2s

2017-07-17 12:09:31 (345 KB/s) - ‘ssl-inspector.rb’ saved [60513/60513]
```

`wget -O <file>` specifies the location to save the downloaded file, as expected.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant