From: Daniel Stenberg Date: Tue, 1 Jun 2004 07:03:46 +0000 (+0000) Subject: --create-dirs clarification X-Git-Tag: curl-7_12_0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d611bec6e4a086213034a778334913f2df2a1a1;p=thirdparty%2Fcurl.git --create-dirs clarification --- diff --git a/docs/curl.1 b/docs/curl.1 index f0f0b1a27f..03048cc589 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -173,8 +173,12 @@ transfer. It then uses the given output/input files to figure that out. If this option is used several times, the last one will be used. .IP "--create-dirs" -When used in conjunction with the -o option, curl will create the necessary -local directory hierarchy as needed. +When used in conjunction with the -o option, curl will create the necessary +local directory hierarchy as needed. This option creates the dirs mentioned +with the -o option, nothing else. If the -o file name uses no dir or if the +dirs it mentions already exist, no dir will be created. + +To create remote directories when using FTP, try \fI--ftp-create-dirs\fP. .IP "--crlf" (FTP) Convert LF to CRLF in upload. Useful for MVS (OS/390).