Skip to content

Setup curlrc with -O #24

Description

@shrop

This will allow curl to behave more like wget for downloading files automatically.

BONUS — Magic cURL Feature with Daniel Stenberg
UN-RECOMMEND
APR 30, 2015 ⋅ 2:20
THE CHANGELOG
This is a bonus clip from the after call with Daniel Stenberg for episode #153. Daniel shared the details of a “magic feature” in cURL that’s been there for over 6 years. It’s a feature he feels most people don’t know exists.

Notes and Links

To start using this “magic feature”, create a .curlrc dotfile in your root with the following settings to set the -O flag by default on all URLs fetched using cURL.

Default to -O

--remote-name-all

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions