quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

create-dirs.md (850B)


      1 ---
      2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
      3 SPDX-License-Identifier: curl
      4 Long: create-dirs
      5 Help: Create necessary local directory hierarchy
      6 Category: output
      7 Added: 7.10.3
      8 Multi: boolean
      9 See-also:
     10   - ftp-create-dirs
     11   - output-dir
     12 Example:
     13   - --create-dirs --output local/dir/file $URL
     14 ---
     15 
     16 # `--create-dirs`
     17 
     18 When used in conjunction with the --output option, curl creates the necessary
     19 local directory hierarchy as needed. This option creates the directories
     20 mentioned with the --output option combined with the path possibly set with
     21 --output-dir. If the combined output filename uses no directory, or if the
     22 directories it mentions already exist, no directories are created.
     23 
     24 Created directories are made with mode 0750 on Unix-style file systems.
     25 
     26 To create remote directories when using FTP or SFTP, try --ftp-create-dirs.