[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. |