Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl -O, -J でファイルに出力する / -o FILE でファイル名を指定して出力する #29

Open
wada811 opened this issue Sep 5, 2019 · 0 comments
Assignees

Comments

@wada811
Copy link
Owner

wada811 commented Sep 5, 2019

What

-O, --remote-name オプション

ファイルとして出力する。
URL のファイル名が出力するファイル名となる。

-J, --remote-header-name オプション

ファイルとして出力する。
ヘッダーの Content-Disposition のファイル名が出力するファイル名となる。

-o, --output <file> オプション

ファイルとして出力する。
<file> が出力するファイル名となる。

How

-O, --remote-name オプション

curl -O [URL]

-J, --remote-header-name オプション

curl -J [URL]

-o, --output <file> オプション

curl -o <file> [URL]

Ref

curl(1) Curl Manual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant