From b2e06ea166a6c57befd9113ebcd0b4662f41a56f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 11 Apr 2011 10:35:16 +0200 Subject: curl.1: spell out the -O target directory When using -O the file will be saved in the current directory, and this is now spelled out clearly. --- docs/curl.1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/curl.1 b/docs/curl.1 index 481448325..04511fae4 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -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 -- cgit v1.2.3