[tab:fs.enum.copy.opts] (original) (raw)

Table 148 β€” Enum class copy_options [tab:fs.enum.copy.opts]

πŸ”—Option group controlling copy_file function effects for existing target files
πŸ”—Constant Meaning
πŸ”—none (Default) Error; file already exists.
πŸ”—skip_existing Do not overwrite existing file, do not report an error.
πŸ”—overwrite_existing Overwrite the existing file.
πŸ”—update_existing Overwrite the existing file if it is older than the replacement file.
πŸ”—Option group controlling copy function effects for subdirectories
πŸ”—Constant Meaning
πŸ”—none (Default) Do not copy subdirectories.
πŸ”—recursive Recursively copy subdirectories and their contents.
πŸ”—Option group controlling copy function effects for symbolic links
πŸ”—Constant Meaning
πŸ”—none (Default) Follow symbolic links.
πŸ”—copy_symlinks Copy symbolic links as symbolic links rather than copying the files that they point to.
πŸ”—skip_symlinks Ignore symbolic links.
πŸ”—Option group controlling copy function effects for choosing the form of copying
πŸ”—Constant Meaning
πŸ”—none (Default) Copy content.
πŸ”—directories_only Copy directory structure only, do not copy non-directory files.
πŸ”—create_symlinks Make symbolic links instead of copies of files. The source path shall be an absolute path unless the destination path is in the current directory.
πŸ”—create_hard_links Make hard links instead of copies of files.