Skip to content

Commit

Permalink
curl.1: spell out the -O target directory
Browse files Browse the repository at this point in the history
When using -O the file will be saved in the current directory, and this
is now spelled out clearly.
  • Loading branch information
bagder committed Apr 11, 2011
1 parent c66b0b3 commit b2e06ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/curl.1
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,10 @@ part of the remote file is used, the path is cut off.)
The remote file name to use for saving is extracted from the given URL,
nothing else.

Consequentially, the file will be saved in the current working directory. If
you want the file saved in a different directory, make sure you change current
working directory before you invoke curl with the \fB-O/--remote-name\fP flag!

You may use this option as many times as the number of URLs you have.
.IP "--remote-name-all"
This option changes the default action for all given URLs to be dealt with as
Expand Down

0 comments on commit b2e06ea

Please sign in to comment.